Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001998/0.001998, allocations: 189.3 kB / 16.25 MB, free: 6.633 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.452/1.452, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.442/2.442, allocations: 390.2 MB / 0.6644 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001688/0.001688, allocations: 67.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7761/0.7778, allocations: 140.4 MB / 0.9491 GB, free: 9.305 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002968/0.7809, allocations: 0.8769 MB / 0.95 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001636/0.7811, allocations: 37.33 kB / 0.95 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.451e-05/0.7812, allocations: 5.219 kB / 0.95 GB, free: 8.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.594e-05/0.7813, allocations: 3.938 kB / 0.95 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001353/0.7814, allocations: 5.141 kB / 0.95 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 8.172e-05/0.7815, allocations: 15.28 kB / 0.95 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001736/0.7817, allocations: 68.48 kB / 0.9501 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002414/0.7819, allocations: 36.81 kB / 0.9501 GB, free: 8.512 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.807e-05/0.782, allocations: 26.55 kB / 0.9502 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.18e-05/0.7821, allocations: 29.27 kB / 0.9502 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.959e-05/0.7822, allocations: 12.97 kB / 0.9502 GB, free: 8.461 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.453e-05/0.7822, allocations: 6.219 kB / 0.9502 GB, free: 8.461 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.922e-05/0.7822, allocations: 18.42 kB / 0.9502 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.542e-05/0.7823, allocations: 34.72 kB / 0.9503 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001437/0.7824, allocations: 74.34 kB / 0.9503 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.7824, allocations: 0 / 0.9503 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.455e-06/0.7824, allocations: 1.25 kB / 0.9503 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.7824, allocations: 0 / 0.9503 GB, free: 8.359 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.0004742/0.7829, allocations: 375 kB / 0.9507 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.783, allocations: 13.09 kB / 0.9507 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.679e-05/0.783, allocations: 10.16 kB / 0.9507 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001991/0.7832, allocations: 194.5 kB / 0.9509 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.7833, allocations: 3.438 kB / 0.9509 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.091e-05/0.7833, allocations: 9.688 kB / 0.9509 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.7835, allocations: 92.39 kB / 0.951 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.7835, allocations: 1.188 kB / 0.951 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.7835, allocations: 9.125 kB / 0.951 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.7835, allocations: 6 kB / 0.951 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.484e-05/0.7836, allocations: 39.36 kB / 0.951 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005208/0.7841, allocations: 436.6 kB / 0.9515 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.714e-05/0.7842, allocations: 42.25 kB / 0.9515 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.911e-05/0.7842, allocations: 19.34 kB / 0.9515 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.7842, allocations: 0 / 0.9515 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.7843, allocations: 31.84 kB / 0.9515 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.7843, allocations: 0 / 0.9515 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002052/0.7845, allocations: 63.53 kB / 0.9516 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.7845, allocations: 82.64 kB / 0.9517 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.7847, allocations: 159.8 kB / 0.9518 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.943e-06/0.7847, allocations: 25.7 kB / 0.9519 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.996e-05/0.7848, allocations: 112.1 kB / 0.952 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.747e-06/0.7848, allocations: 9.094 kB / 0.952 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.027e-05/0.7848, allocations: 16.78 kB / 0.952 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.26e-05/0.7849, allocations: 321.2 kB / 0.9523 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.847e-05/0.7849, allocations: 4 kB / 0.9523 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.987e-05/0.7849, allocations: 21.97 kB / 0.9523 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.653e-05/0.785, allocations: 25.91 kB / 0.9524 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.785, allocations: 1.406 kB / 0.9524 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.083e-05/0.7851, allocations: 62.28 kB / 0.9524 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.7851, allocations: 5.281 kB / 0.9524 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.7851, allocations: 5.281 kB / 0.9524 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.7851, allocations: 11.92 kB / 0.9524 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.041e-05/0.7852, allocations: 6.562 kB / 0.9524 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.7852, allocations: 3.984 kB / 0.9524 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.049e-05/0.7853, allocations: 2 kB / 0.9524 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-06/0.7853, allocations: 2.688 kB / 0.9524 GB, free: 6.188 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 8.191e-05/0.7854, allocations: 112.9 kB / 0.9526 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.179e-05/0.7854, allocations: 7.5 kB / 0.9526 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.459e-05/0.7854, allocations: 15.44 kB / 0.9526 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.7854, allocations: 4 kB / 0.9526 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.7855, allocations: 1.469 kB / 0.9526 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.7855, allocations: 0 / 0.9526 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002927/0.7858, allocations: 474.5 kB / 0.953 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.7858, allocations: 1.469 kB / 0.953 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.84e-05/0.7858, allocations: 2.594 kB / 0.953 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.7858, allocations: 0 / 0.953 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.7858, allocations: 1.438 kB / 0.953 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.7858, allocations: 5.594 kB / 0.953 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.7858, allocations: 3.938 kB / 0.953 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.6e-05/0.7859, allocations: 82.95 kB / 0.9531 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.583e-05/0.786, allocations: 86.89 kB / 0.9532 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.786, allocations: 1.938 kB / 0.9532 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.071e-05/0.786, allocations: 4 kB / 0.9532 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.595e-05/0.786, allocations: 5.938 kB / 0.9532 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.786, allocations: 1.344 kB / 0.9532 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.743e-05/0.7861, allocations: 123.8 kB / 0.9533 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8.32e-07/0.7861, allocations: 0 / 0.9533 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001841/0.7863, allocations: 11 kB / 0.9534 GB, free: 5.238 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.0001393/0.7865, allocations: 100.6 kB / 0.9534 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.971e-05/0.7866, allocations: 19.25 kB / 0.9535 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.7866, allocations: 4.062 kB / 0.9535 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.22e-05/0.7866, allocations: 4.281 kB / 0.9535 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001897/0.7868, allocations: 13.25 kB / 0.9535 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003187/0.7871, allocations: 188.3 kB / 0.9537 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001622/0.7873, allocations: 0.695 MB / 0.9543 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.701e-05/0.7873, allocations: 8.453 kB / 0.9544 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.615e-05/0.7874, allocations: 11.06 kB / 0.9544 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.7874, allocations: 0 / 0.9544 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of Templates: time 0.002745/0.7901, allocations: 452.9 kB / 0.9548 GB, free: 4 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches