Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007725/0.007725, allocations: 100.1 kB / 15.73 MB, free: 6.035 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.001477/0.001477, allocations: 187.3 kB / 16.67 MB, free: 5.965 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.556/1.556, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.915/2.915, allocations: 461.9 MB / 0.7347 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 67.91 kB / 1.054 GB, free: 7.176 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3717/0.3729, allocations: 157.4 MB / 1.208 GB, free: 9.676 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002507/0.3755, allocations: 0.8293 MB / 1.209 GB, free: 8.844 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001915/0.3757, allocations: 39.78 kB / 1.209 GB, free: 8.805 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.607e-05/0.3758, allocations: 0 / 1.209 GB, free: 8.805 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.042e-05/0.3759, allocations: 7.875 kB / 1.209 GB, free: 8.797 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001083/0.376, allocations: 11.94 kB / 1.209 GB, free: 8.785 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 5.904e-05/0.3761, allocations: 15.98 kB / 1.209 GB, free: 8.77 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001301/0.3762, allocations: 63.77 kB / 1.209 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001938/0.3764, allocations: 47.92 kB / 1.209 GB, free: 8.66 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.944e-05/0.3765, allocations: 27.86 kB / 1.209 GB, free: 8.633 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.556e-05/0.3766, allocations: 27.86 kB / 1.209 GB, free: 8.605 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.51e-05/0.3766, allocations: 8 kB / 1.209 GB, free: 8.598 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.127e-05/0.3766, allocations: 8 kB / 1.209 GB, free: 8.59 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.439e-05/0.3766, allocations: 15.91 kB / 1.209 GB, free: 8.574 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.044e-05/0.3767, allocations: 39.69 kB / 1.209 GB, free: 8.535 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000138/0.3768, allocations: 71.7 kB / 1.209 GB, free: 8.465 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3769, allocations: 4 kB / 1.209 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3769, allocations: 0 / 1.209 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.645e-06/0.3769, allocations: 0 / 1.209 GB, free: 8.461 MB / 0.9669 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.0005125/0.3774, allocations: 379.2 kB / 1.209 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.3775, allocations: 8.625 kB / 1.209 GB, free: 8.031 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.406e-05/0.3775, allocations: 12.84 kB / 1.209 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/0.3777, allocations: 200.1 kB / 1.209 GB, free: 7.785 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.3778, allocations: 4.375 kB / 1.209 GB, free: 7.781 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.3778, allocations: 12.31 kB / 1.21 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.378, allocations: 87.95 kB / 1.21 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.378, allocations: 192 / 1.21 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.378, allocations: 3.938 kB / 1.21 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.378, allocations: 4 kB / 1.21 GB, free: 7.664 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.383e-05/0.3781, allocations: 43.92 kB / 1.21 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006324/0.3788, allocations: 432.5 kB / 1.21 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.698e-05/0.3788, allocations: 41.34 kB / 1.21 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.994e-05/0.3789, allocations: 21.78 kB / 1.21 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.097e-06/0.3789, allocations: 0 / 1.21 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.882e-05/0.3789, allocations: 34.56 kB / 1.21 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.3789, allocations: 0 / 1.21 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001932/0.3791, allocations: 57.47 kB / 1.21 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.386e-05/0.3792, allocations: 77.36 kB / 1.21 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.3794, allocations: 166.8 kB / 1.21 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.3794, allocations: 25.7 kB / 1.21 GB, free: 6.656 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.548e-05/0.3795, allocations: 104 kB / 1.211 GB, free: 6.551 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.041e-05/0.3795, allocations: 11.91 kB / 1.211 GB, free: 6.539 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-05/0.3796, allocations: 17.62 kB / 1.211 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.3797, allocations: 318.8 kB / 1.211 GB, free: 6.195 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.992e-05/0.3797, allocations: 8 kB / 1.211 GB, free: 6.188 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.557e-05/0.3798, allocations: 17.72 kB / 1.211 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.428e-05/0.3798, allocations: 29.66 kB / 1.211 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3798, allocations: 4 kB / 1.211 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.696e-05/0.3799, allocations: 53.62 kB / 1.211 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.3799, allocations: 5.719 kB / 1.211 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.3799, allocations: 3.938 kB / 1.211 GB, free: 6.059 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.38, allocations: 4 kB / 1.211 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.008e-05/0.3801, allocations: 8.062 kB / 1.211 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.3801, allocations: 0 / 1.211 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.666e-05/0.3801, allocations: 11.84 kB / 1.211 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.3801, allocations: 0 / 1.211 GB, free: 6.035 MB / 0.9669 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 9.307e-05/0.3802, allocations: 121.8 kB / 1.211 GB, free: 5.906 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.445e-05/0.3803, allocations: 7.906 kB / 1.211 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.914e-05/0.3803, allocations: 15.81 kB / 1.211 GB, free: 5.883 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.3803, allocations: 0 / 1.211 GB, free: 5.883 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.3803, allocations: 0 / 1.211 GB, free: 5.883 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.3803, allocations: 4 kB / 1.211 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004348/0.3808, allocations: 474.8 kB / 1.212 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.3808, allocations: 4 kB / 1.212 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.457e-05/0.3808, allocations: 11.92 kB / 1.212 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.3808, allocations: 96 / 1.212 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.3808, allocations: 4 kB / 1.212 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.3808, allocations: 0 / 1.212 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.3808, allocations: 3.984 kB / 1.212 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.484e-05/0.3809, allocations: 81.81 kB / 1.212 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.57e-05/0.381, allocations: 93 kB / 1.212 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.381, allocations: 0 / 1.212 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.179e-05/0.3811, allocations: 0 / 1.212 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.607e-05/0.3811, allocations: 7.938 kB / 1.212 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-06/0.3811, allocations: 32 / 1.212 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.284e-05/0.3812, allocations: 125.1 kB / 1.212 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3812, allocations: 0 / 1.212 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001895/0.3814, allocations: 8 kB / 1.212 GB, free: 4.98 MB / 0.9669 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.0001397/0.3815, allocations: 99.23 kB / 1.212 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 9.368e-05/0.3816, allocations: 16 kB / 1.212 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.3816, allocations: 0 / 1.212 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.67e-05/0.3817, allocations: 16.12 kB / 1.212 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001707/0.3818, allocations: 17.42 kB / 1.212 GB, free: 4.828 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003752/0.3822, allocations: 156.3 kB / 1.212 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.3825, allocations: 0.6929 MB / 1.213 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.656e-05/0.3826, allocations: 8.422 kB / 1.213 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.672e-05/0.3826, allocations: 15.5 kB / 1.213 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of SimCode: time 3e-07/0.3826, allocations: 0 / 1.213 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of Templates: time 0.002885/0.3855, allocations: 457 kB / 1.213 GB, free: 3.453 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches