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.001467/0.001467, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001933/0.001933, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.423/1.423, allocations: 222.9 MB / 239.8 MB, free: 4.625 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.495/2.495, allocations: 390.2 MB / 0.6642 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.001461, allocations: 63.91 kB / 0.8119 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8789/0.8804, allocations: 140.4 MB / 0.9489 GB, free: 9.27 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.001754/0.8822, allocations: 0.8887 MB / 0.9498 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 8.906e-05/0.8823, allocations: 37.34 kB / 0.9498 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.742e-05/0.8823, allocations: 1.375 kB / 0.9498 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.796e-05/0.8824, allocations: 7.875 kB / 0.9498 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.255e-05/0.8825, allocations: 3.938 kB / 0.9498 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.978e-05/0.8825, allocations: 20.11 kB / 0.9499 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.152e-05/0.8826, allocations: 51.23 kB / 0.9499 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.8827, allocations: 45.7 kB / 0.9499 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.987e-05/0.8828, allocations: 24.11 kB / 0.95 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.006e-05/0.8828, allocations: 31.91 kB / 0.95 GB, free: 8.422 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.8828, allocations: 4.125 kB / 0.95 GB, free: 8.422 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.788e-06/0.8829, allocations: 4.125 kB / 0.95 GB, free: 8.422 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.591e-05/0.8829, allocations: 10.69 kB / 0.95 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.031e-05/0.8829, allocations: 30.67 kB / 0.95 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.723e-05/0.883, allocations: 68.67 kB / 0.9501 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.883, allocations: 5.375 kB / 0.9501 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.032e-06/0.883, allocations: 0 / 0.9501 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.883, allocations: 0 / 0.9501 GB, free: 8.332 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.0003096/0.8834, allocations: 382.5 kB / 0.9505 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.8834, allocations: 13.56 kB / 0.9505 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.251e-05/0.8834, allocations: 8.969 kB / 0.9505 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.8836, allocations: 187.2 kB / 0.9507 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.978e-06/0.8836, allocations: 7.109 kB / 0.9507 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.8836, allocations: 9.875 kB / 0.9507 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.8838, allocations: 100.6 kB / 0.9508 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.555e-06/0.8838, allocations: 192 / 0.9508 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.8838, allocations: 5.312 kB / 0.9508 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.8838, allocations: 2.75 kB / 0.9508 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.897e-05/0.8839, allocations: 39.17 kB / 0.9508 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004263/0.8843, allocations: 436.5 kB / 0.9513 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.029e-05/0.8844, allocations: 37.28 kB / 0.9513 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.031e-05/0.8844, allocations: 20.55 kB / 0.9513 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.103e-06/0.8844, allocations: 4.031 kB / 0.9513 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.515e-05/0.8844, allocations: 39.91 kB / 0.9514 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.8844, allocations: 0 / 0.9514 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001706/0.8846, allocations: 54.77 kB / 0.9514 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.8846, allocations: 78.11 kB / 0.9515 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.8848, allocations: 163.7 kB / 0.9516 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.574e-06/0.8848, allocations: 25.7 kB / 0.9517 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.322e-05/0.8849, allocations: 114 kB / 0.9518 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.204e-06/0.8849, allocations: 7.906 kB / 0.9518 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.82e-05/0.8849, allocations: 22.5 kB / 0.9518 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.057e-05/0.885, allocations: 320.1 kB / 0.9521 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.657e-05/0.885, allocations: 2.875 kB / 0.9521 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.996e-05/0.885, allocations: 27.17 kB / 0.9521 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.791e-05/0.8851, allocations: 26.47 kB / 0.9522 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.8851, allocations: 4 kB / 0.9522 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.496e-05/0.8851, allocations: 58.5 kB / 0.9522 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.8852, allocations: 5.406 kB / 0.9522 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.8852, allocations: 5.531 kB / 0.9522 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.8852, allocations: 0 / 0.9522 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.28e-05/0.8853, allocations: 9.5 kB / 0.9522 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.8853, allocations: 0.9375 kB / 0.9522 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.783e-05/0.8853, allocations: 2.844 kB / 0.9522 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-06/0.8853, allocations: 1.594 kB / 0.9522 GB, free: 6.16 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 6.765e-05/0.8854, allocations: 116.7 kB / 0.9524 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.15e-05/0.8854, allocations: 7.844 kB / 0.9524 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.813e-05/0.8855, allocations: 19.55 kB / 0.9524 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.8855, allocations: 0 / 0.9524 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.8855, allocations: 1.344 kB / 0.9524 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.8855, allocations: 0 / 0.9524 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002854/0.8858, allocations: 475.1 kB / 0.9528 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.8858, allocations: 0 / 0.9528 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.773e-05/0.8858, allocations: 3.656 kB / 0.9528 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.8858, allocations: 0 / 0.9528 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/0.8858, allocations: 5.375 kB / 0.9528 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.8858, allocations: 1.156 kB / 0.9528 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.8858, allocations: 0 / 0.9528 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.068e-05/0.8859, allocations: 86.95 kB / 0.9529 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.56e-05/0.886, allocations: 95.34 kB / 0.953 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.886, allocations: 1.281 kB / 0.953 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.139e-05/0.886, allocations: 5.25 kB / 0.953 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.814e-05/0.886, allocations: 1.375 kB / 0.953 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-06/0.886, allocations: 1.25 kB / 0.953 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.566e-05/0.8861, allocations: 120.3 kB / 0.9531 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8861, allocations: 0 / 0.9531 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001846/0.8863, allocations: 7.594 kB / 0.9531 GB, free: 5.211 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.0001044/0.8864, allocations: 111.6 kB / 0.9533 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.933e-05/0.8865, allocations: 17.31 kB / 0.9533 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.8865, allocations: 1.062 kB / 0.9533 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.062e-05/0.8865, allocations: 7.234 kB / 0.9533 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001652/0.8867, allocations: 12.75 kB / 0.9533 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003368/0.887, allocations: 182.1 kB / 0.9535 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001706/0.8872, allocations: 0.6951 MB / 0.9541 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.653e-05/0.8873, allocations: 9.125 kB / 0.9542 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.291e-05/0.8873, allocations: 15.28 kB / 0.9542 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.8873, allocations: 0 / 0.9542 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of Templates: time 0.002606/0.8899, allocations: 438.4 kB / 0.9546 GB, free: 3.973 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