Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002186/0.002186, allocations: 112.7 kB / 18.94 MB, free: 2.93 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002424/0.002424, allocations: 189 kB / 22.23 MB, free: 5.105 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.639/1.639, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.387/3.387, allocations: 496 MB / 0.7835 GB, free: 33.5 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu")
translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002269/0.002269, allocations: 71.05 kB / 1.138 GB, free: 33.85 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4756/0.4779, allocations: 173.6 MB / 1.307 GB, free: 1.793 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002474/0.4803, allocations: 0.8389 MB / 1.308 GB, free: 0.957 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.000128/0.4805, allocations: 43.72 kB / 1.308 GB, free: 0.9141 MB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 7.236e-05/0.4805, allocations: 4 kB / 1.308 GB, free: 0.9102 MB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 4.141e-05/0.4806, allocations: 3.938 kB / 1.308 GB, free: 0.9062 MB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.4807, allocations: 15.86 kB / 1.308 GB, free: 0.8906 MB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 5.116e-05/0.4807, allocations: 15.98 kB / 1.308 GB, free: 0.875 MB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 0.0001404/0.4809, allocations: 63.84 kB / 1.308 GB, free: 0.8125 MB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001614/0.481, allocations: 35.91 kB / 1.308 GB, free: 0.7773 MB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 7.883e-05/0.4811, allocations: 23.92 kB / 1.308 GB, free: 0.7539 MB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 6.996e-05/0.4812, allocations: 39.78 kB / 1.308 GB, free: 0.7148 MB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.4812, allocations: 4 kB / 1.308 GB, free: 0.7109 MB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.39e-05/0.4812, allocations: 8 kB / 1.308 GB, free: 0.7031 MB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 2.531e-05/0.4812, allocations: 11.94 kB / 1.308 GB, free: 0.6914 MB / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 4.786e-05/0.4813, allocations: 31.8 kB / 1.308 GB, free: 0.6602 MB / 0.9981 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.4814, allocations: 79.52 kB / 1.308 GB, free: 0.582 MB / 0.9981 GB
Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.4814, allocations: 0 / 1.308 GB, free: 0.582 MB / 0.9981 GB
Notification: Performance of FrontEnd: time 1.694e-06/0.4814, allocations: 4 kB / 1.308 GB, free: 0.5781 MB / 0.9981 GB
Notification: Performance of Transformations before backend: time 8.176e-06/0.4815, allocations: 0 / 1.308 GB, free: 0.5781 MB / 0.9981 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.0005406/0.482, allocations: 302 kB / 1.309 GB, free: 256 kB / 0.9981 GB
Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.482, allocations: 12.92 kB / 1.309 GB, free: 244 kB / 0.9981 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.72e-05/0.4821, allocations: 12.84 kB / 1.309 GB, free: 232 kB / 0.9981 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.4823, allocations: 138.3 kB / 1.309 GB, free: 68 kB / 0.9981 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.4823, allocations: 4.375 kB / 1.309 GB, free: 64 kB / 0.9981 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.613e-05/0.4823, allocations: 12.38 kB / 1.309 GB, free: 52 kB / 0.9981 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002278/0.4826, allocations: 84.89 kB / 1.309 GB, free: 15.96 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.4826, allocations: 192 / 1.309 GB, free: 15.96 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.4826, allocations: 7.938 kB / 1.309 GB, free: 15.95 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.4826, allocations: 11.98 kB / 1.309 GB, free: 15.94 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.557e-05/0.4827, allocations: 35.92 kB / 1.309 GB, free: 15.9 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006451/0.4833, allocations: 411.8 kB / 1.309 GB, free: 15.45 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 6.926e-05/0.4834, allocations: 33.19 kB / 1.309 GB, free: 15.4 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.593e-05/0.4834, allocations: 25.84 kB / 1.31 GB, free: 15.37 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.005e-05/0.4835, allocations: 0 / 1.31 GB, free: 15.37 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.4835, allocations: 30.56 kB / 1.31 GB, free: 15.33 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.4835, allocations: 0 / 1.31 GB, free: 15.33 MB / 1.014 GB
Notification: Performance of matching and sorting (n=2): time 0.0002106/0.4837, allocations: 61.52 kB / 1.31 GB, free: 15.27 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.172e-05/0.4838, allocations: 85.36 kB / 1.31 GB, free: 15.16 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/0.4839, allocations: 157.3 kB / 1.31 GB, free: 15 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.484, allocations: 25.7 kB / 1.31 GB, free: 14.97 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 9.797e-05/0.4841, allocations: 112 kB / 1.31 GB, free: 14.86 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 8.295e-06/0.4841, allocations: 0 / 1.31 GB, free: 14.86 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.67e-05/0.4841, allocations: 21.67 kB / 1.31 GB, free: 14.83 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001492/0.4843, allocations: 318.8 kB / 1.31 GB, free: 14.51 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 2.366e-05/0.4843, allocations: 8 kB / 1.31 GB, free: 14.5 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.678e-05/0.4843, allocations: 25.66 kB / 1.31 GB, free: 14.47 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 4.801e-05/0.4844, allocations: 25.7 kB / 1.31 GB, free: 14.44 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.4844, allocations: 0 / 1.31 GB, free: 14.44 MB / 1.014 GB
Notification: Performance of matching and sorting (n=4) (initialization): time 9.403e-05/0.4845, allocations: 53.59 kB / 1.31 GB, free: 14.38 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.4845, allocations: 9.406 kB / 1.31 GB, free: 14.38 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.4845, allocations: 3.938 kB / 1.31 GB, free: 14.37 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.4845, allocations: 4.062 kB / 1.31 GB, free: 14.37 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.386e-05/0.4846, allocations: 15.98 kB / 1.31 GB, free: 14.35 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.4846, allocations: 0 / 1.31 GB, free: 14.35 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.591e-05/0.4846, allocations: 0 / 1.31 GB, free: 14.35 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.4846, allocations: 4 kB / 1.31 GB, free: 14.35 MB / 1.014 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 0.0001051/0.4847, allocations: 122.5 kB / 1.311 GB, free: 14.22 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.439e-05/0.4848, allocations: 11.91 kB / 1.311 GB, free: 14.21 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.042e-05/0.4848, allocations: 7.75 kB / 1.311 GB, free: 14.2 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.4848, allocations: 7.984 kB / 1.311 GB, free: 14.19 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.4848, allocations: 8 kB / 1.311 GB, free: 14.18 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.4848, allocations: 0 / 1.311 GB, free: 14.18 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004366/0.4852, allocations: 445.8 kB / 1.311 GB, free: 13.69 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.4852, allocations: 0 / 1.311 GB, free: 13.69 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.93e-05/0.4853, allocations: 4 kB / 1.311 GB, free: 13.69 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.4853, allocations: 3.938 kB / 1.311 GB, free: 13.68 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-06/0.4853, allocations: 0 / 1.311 GB, free: 13.68 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.4853, allocations: 0 / 1.311 GB, free: 13.68 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.4853, allocations: 8.062 kB / 1.311 GB, free: 13.68 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 9.335e-05/0.4854, allocations: 81.88 kB / 1.311 GB, free: 13.57 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.371e-05/0.4854, allocations: 7.953 kB / 1.311 GB, free: 13.57 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.4854, allocations: 0 / 1.311 GB, free: 13.57 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.965e-05/0.4854, allocations: 3.938 kB / 1.311 GB, free: 13.56 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.355e-05/0.4855, allocations: 3.984 kB / 1.311 GB, free: 13.56 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.4855, allocations: 8.031 kB / 1.311 GB, free: 13.55 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0001061/0.4856, allocations: 119.3 kB / 1.311 GB, free: 13.43 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7e-08/0.4856, allocations: 0 / 1.311 GB, free: 13.43 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0001797/0.4857, allocations: 4 kB / 1.311 GB, free: 13.43 MB / 1.014 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.0001404/0.4859, allocations: 103.2 kB / 1.311 GB, free: 13.32 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0001047/0.486, allocations: 16 kB / 1.311 GB, free: 13.3 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.486, allocations: 0 / 1.311 GB, free: 13.3 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 1.353e-05/0.486, allocations: 12.06 kB / 1.311 GB, free: 13.29 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001895/0.4862, allocations: 7.938 kB / 1.311 GB, free: 13.29 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003961/0.4866, allocations: 166.2 kB / 1.312 GB, free: 13.09 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.487, allocations: 0.6924 MB / 1.312 GB, free: 12.37 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 4.167e-05/0.487, allocations: 12.55 kB / 1.312 GB, free: 12.36 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.881e-05/0.487, allocations: 11.44 kB / 1.312 GB, free: 12.35 MB / 1.014 GB
Notification: Performance of SimCode: time 2.7e-07/0.487, allocations: 0 / 1.312 GB, free: 12.35 MB / 1.014 GB
Notification: Performance of Templates: time 0.003225/0.4903, allocations: 472.6 kB / 1.313 GB, free: 11.89 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300]
""
[Timeout remaining time 300]
Reference file matches
[Calling sys.exit(0), Time elapsed: 9.962007860653102]