Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001969/0.001969, allocations: 196.9 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.411/2.411, allocations: 390.2 MB / 0.6647 GB, free: 464 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 59.91 kB / 0.8125 GB, free: 14.48 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9335/0.9347, allocations: 140.4 MB / 0.9496 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.002215/0.937, allocations: 0.8234 MB / 0.9504 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001121/0.9371, allocations: 41.23 kB / 0.9504 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.803e-05/0.9372, allocations: 1.375 kB / 0.9504 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.751e-05/0.9372, allocations: 11.86 kB / 0.9504 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.454e-05/0.9373, allocations: 13.25 kB / 0.9505 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.856e-05/0.9374, allocations: 18.73 kB / 0.9505 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001069/0.9375, allocations: 56.66 kB / 0.9505 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001686/0.9377, allocations: 48.39 kB / 0.9506 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.306e-05/0.9377, allocations: 26.73 kB / 0.9506 GB, free: 8.309 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.313e-05/0.9378, allocations: 33.28 kB / 0.9506 GB, free: 8.281 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.9378, allocations: 5.5 kB / 0.9506 GB, free: 8.281 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.362e-05/0.9378, allocations: 6.875 kB / 0.9506 GB, free: 8.281 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.956e-05/0.9379, allocations: 17.3 kB / 0.9507 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.063e-05/0.9379, allocations: 34.67 kB / 0.9507 GB, free: 8.238 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001008/0.938, allocations: 75.42 kB / 0.9508 GB, free: 8.18 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.938, allocations: 0 / 0.9508 GB, free: 8.18 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.274e-06/0.938, allocations: 0 / 0.9508 GB, free: 8.18 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.938, allocations: 0 / 0.9508 GB, free: 8.18 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003982/0.9385, allocations: 378.4 kB / 0.9511 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.9385, allocations: 13.61 kB / 0.9511 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.856e-05/0.9385, allocations: 9.812 kB / 0.9511 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001835/0.9387, allocations: 193.7 kB / 0.9513 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.9388, allocations: 8.25 kB / 0.9513 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.9388, allocations: 4.688 kB / 0.9513 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.9389, allocations: 90.98 kB / 0.9514 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.939, allocations: 192 / 0.9514 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.939, allocations: 9.312 kB / 0.9514 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.939, allocations: 1.594 kB / 0.9514 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.685e-05/0.9391, allocations: 39.97 kB / 0.9515 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004707/0.9395, allocations: 433.2 kB / 0.9519 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.903e-05/0.9396, allocations: 41.53 kB / 0.9519 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.195e-05/0.9396, allocations: 19.44 kB / 0.9519 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.057e-06/0.9397, allocations: 4 kB / 0.952 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.9397, allocations: 36.7 kB / 0.952 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.904e-06/0.9397, allocations: 0 / 0.952 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001814/0.9399, allocations: 55.02 kB / 0.952 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.9399, allocations: 81.05 kB / 0.9521 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.9401, allocations: 164.1 kB / 0.9523 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.717e-06/0.9401, allocations: 30.95 kB / 0.9523 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.048e-05/0.9402, allocations: 111.4 kB / 0.9524 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.118e-05/0.9402, allocations: 8.969 kB / 0.9524 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.154e-05/0.9402, allocations: 13.06 kB / 0.9524 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.397e-05/0.9403, allocations: 325.2 kB / 0.9527 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.013e-05/0.9403, allocations: 7.844 kB / 0.9527 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2e-05/0.9403, allocations: 14.69 kB / 0.9528 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.199e-05/0.9404, allocations: 33.73 kB / 0.9528 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.9404, allocations: 1.25 kB / 0.9528 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.861e-05/0.9405, allocations: 55.11 kB / 0.9528 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.9405, allocations: 5.125 kB / 0.9529 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.443e-06/0.9405, allocations: 3.938 kB / 0.9529 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.9405, allocations: 1.562 kB / 0.9529 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.156e-05/0.9406, allocations: 9.516 kB / 0.9529 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.9406, allocations: 4.062 kB / 0.9529 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.077e-05/0.9407, allocations: 7.094 kB / 0.9529 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.9407, allocations: 1.531 kB / 0.9529 GB, free: 6.016 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.205e-05/0.9407, allocations: 112.9 kB / 0.953 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.396e-05/0.9408, allocations: 11.91 kB / 0.953 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.958e-05/0.9408, allocations: 10.84 kB / 0.953 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.9408, allocations: 8.891 kB / 0.953 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.9408, allocations: 0 / 0.953 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.9409, allocations: 1.156 kB / 0.953 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003135/0.9412, allocations: 482.8 kB / 0.9535 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.9412, allocations: 4 kB / 0.9535 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.797e-05/0.9412, allocations: 3 kB / 0.9535 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.9412, allocations: 6.016 kB / 0.9535 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.9412, allocations: 0 / 0.9535 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.9412, allocations: 1.25 kB / 0.9535 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.9412, allocations: 0 / 0.9535 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.194e-05/0.9413, allocations: 82.98 kB / 0.9536 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.922e-05/0.9414, allocations: 91.14 kB / 0.9537 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.9414, allocations: 5.031 kB / 0.9537 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.956e-05/0.9415, allocations: 1.188 kB / 0.9537 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.527e-05/0.9415, allocations: 5.453 kB / 0.9537 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.9415, allocations: 1.344 kB / 0.9537 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001117/0.9416, allocations: 123.7 kB / 0.9538 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.9416, allocations: 5.219 kB / 0.9538 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002027/0.9418, allocations: 6.344 kB / 0.9538 GB, free: 5.051 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001638/0.942, allocations: 103 kB / 0.9539 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001367/0.9421, allocations: 16.69 kB / 0.9539 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.9421, allocations: 5.281 kB / 0.9539 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.181e-05/0.9422, allocations: 4.062 kB / 0.9539 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001838/0.9424, allocations: 16 kB / 0.9539 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004187/0.9428, allocations: 154.6 kB / 0.9541 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002238/0.943, allocations: 0.6985 MB / 0.9548 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.683e-05/0.9431, allocations: 8.734 kB / 0.9548 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.917e-05/0.9431, allocations: 11.78 kB / 0.9548 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.9431, allocations: 0 / 0.9548 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of Templates: time 0.003307/0.9464, allocations: 447.3 kB / 0.9552 GB, free: 3.848 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches