Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.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.001999/0.001999, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.002449/0.002449, allocations: 189 kB / 22.23 MB, free: 5.137 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.624/1.624, allocations: 225.6 MB / 251 MB, free: 13.05 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.882/2.882, allocations: 476.7 MB / 0.7646 GB, free: 9.895 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton")
translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.003498/0.003498, allocations: 67.88 kB / 1.11 GB, free: 6.324 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.9504/0.9539, allocations: 168.8 MB / 1.274 GB, free: 4.188 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.002615/0.9565, allocations: 0.834 MB / 1.275 GB, free: 3.359 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.000163/0.9566, allocations: 43.78 kB / 1.275 GB, free: 3.316 MB / 0.9669 GB
Notification: Performance of NFInst.updateImplicitVariability: time 8.632e-05/0.9567, allocations: 0 / 1.275 GB, free: 3.316 MB / 0.9669 GB
Notification: Performance of NFTyping.typeComponents: time 4.678e-05/0.9568, allocations: 11.86 kB / 1.275 GB, free: 3.305 MB / 0.9669 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001087/0.9569, allocations: 7.938 kB / 1.275 GB, free: 3.297 MB / 0.9669 GB
Notification: Performance of NFTyping.typeClassSections: time 6.04e-05/0.9569, allocations: 19.98 kB / 1.275 GB, free: 3.277 MB / 0.9669 GB
Notification: Performance of NFFlatten.flatten: time 0.000146/0.9571, allocations: 59.78 kB / 1.275 GB, free: 3.219 MB / 0.9669 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.9572, allocations: 35.92 kB / 1.275 GB, free: 3.184 MB / 0.9669 GB
Notification: Performance of NFEvalConstants.evaluate: time 8.908e-05/0.9573, allocations: 23.88 kB / 1.275 GB, free: 3.16 MB / 0.9669 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.475e-05/0.9574, allocations: 27.84 kB / 1.275 GB, free: 3.133 MB / 0.9669 GB
Notification: Performance of NFPackage.collectConstants: time 2.174e-05/0.9574, allocations: 8 kB / 1.275 GB, free: 3.125 MB / 0.9669 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.154e-05/0.9574, allocations: 8 kB / 1.275 GB, free: 3.117 MB / 0.9669 GB
Notification: Performance of NFScalarize.scalarize: time 2.703e-05/0.9575, allocations: 15.94 kB / 1.275 GB, free: 3.102 MB / 0.9669 GB
Notification: Performance of NFVerifyModel.verify: time 4.911e-05/0.9575, allocations: 39.78 kB / 1.275 GB, free: 3.062 MB / 0.9669 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.9577, allocations: 69.98 kB / 1.276 GB, free: 3 MB / 0.9669 GB
Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/0.9577, allocations: 4 kB / 1.276 GB, free: 2.996 MB / 0.9669 GB
Notification: Performance of FrontEnd: time 1.523e-06/0.9577, allocations: 0 / 1.276 GB, free: 2.996 MB / 0.9669 GB
Notification: Performance of Transformations before backend: time 6.171e-06/0.9577, allocations: 0 / 1.276 GB, free: 2.996 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.0005291/0.9582, allocations: 302 kB / 1.276 GB, free: 2.668 MB / 0.9669 GB
Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.9582, allocations: 12.03 kB / 1.276 GB, free: 2.656 MB / 0.9669 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.004e-05/0.9583, allocations: 20.78 kB / 1.276 GB, free: 2.637 MB / 0.9669 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002657/0.9586, allocations: 138.3 kB / 1.276 GB, free: 2.477 MB / 0.9669 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.9586, allocations: 8.375 kB / 1.276 GB, free: 2.469 MB / 0.9669 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.49e-05/0.9586, allocations: 8.312 kB / 1.276 GB, free: 2.461 MB / 0.9669 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.9588, allocations: 91.95 kB / 1.276 GB, free: 2.359 MB / 0.9669 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.9588, allocations: 192 / 1.276 GB, free: 2.359 MB / 0.9669 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.9588, allocations: 7.922 kB / 1.276 GB, free: 2.352 MB / 0.9669 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.9588, allocations: 4 kB / 1.276 GB, free: 2.348 MB / 0.9669 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 9.555e-05/0.9589, allocations: 39.92 kB / 1.276 GB, free: 2.309 MB / 0.9669 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006088/0.9595, allocations: 395.8 kB / 1.276 GB, free: 1.875 MB / 0.9669 GB
Notification: Performance of preOpt comSubExp (simulation): time 7.95e-05/0.9596, allocations: 41.19 kB / 1.277 GB, free: 1.816 MB / 0.9669 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.299e-05/0.9596, allocations: 25.83 kB / 1.277 GB, free: 1.785 MB / 0.9669 GB
Notification: Performance of preOpt evalFunc (simulation): time 9.277e-06/0.9597, allocations: 4 kB / 1.277 GB, free: 1.781 MB / 0.9669 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.9597, allocations: 30.56 kB / 1.277 GB, free: 1.742 MB / 0.9669 GB
Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.9597, allocations: 0 / 1.277 GB, free: 1.742 MB / 0.9669 GB
Notification: Performance of matching and sorting (n=2): time 0.0001855/0.9599, allocations: 53.53 kB / 1.277 GB, free: 1.684 MB / 0.9669 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.357e-05/0.9599, allocations: 77.11 kB / 1.277 GB, free: 1.59 MB / 0.9669 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.9601, allocations: 166.2 kB / 1.277 GB, free: 1.418 MB / 0.9669 GB
Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.9601, allocations: 25.7 kB / 1.277 GB, free: 1.387 MB / 0.9669 GB
Notification: Performance of collectInitialEqns (initialization): time 8.26e-05/0.9602, allocations: 108 kB / 1.277 GB, free: 1.277 MB / 0.9669 GB
Notification: Performance of collectInitialBindings (initialization): time 8.195e-06/0.9602, allocations: 3.953 kB / 1.277 GB, free: 1.273 MB / 0.9669 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.953e-05/0.9602, allocations: 21.67 kB / 1.277 GB, free: 1.246 MB / 0.9669 GB
Notification: Performance of setup shared object (initialization): time 0.0001508/0.9604, allocations: 318.8 kB / 1.277 GB, free: 0.9258 MB / 0.9669 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 2.134e-05/0.9604, allocations: 8 kB / 1.277 GB, free: 0.918 MB / 0.9669 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 4.033e-05/0.9605, allocations: 29.64 kB / 1.277 GB, free: 0.8828 MB / 0.9669 GB
Notification: Performance of analyzeInitialSystem (initialization): time 4.66e-05/0.9605, allocations: 29.72 kB / 1.277 GB, free: 0.8477 MB / 0.9669 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.9605, allocations: 0 / 1.277 GB, free: 0.8477 MB / 0.9669 GB
Notification: Performance of matching and sorting (n=4) (initialization): time 9.109e-05/0.9606, allocations: 57.58 kB / 1.277 GB, free: 0.7852 MB / 0.9669 GB
Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.9606, allocations: 4 kB / 1.277 GB, free: 0.7812 MB / 0.9669 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.9606, allocations: 11.92 kB / 1.277 GB, free: 0.7695 MB / 0.9669 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.9606, allocations: 0 / 1.277 GB, free: 0.7695 MB / 0.9669 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.087e-05/0.9607, allocations: 8.062 kB / 1.277 GB, free: 0.7617 MB / 0.9669 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.9607, allocations: 3.938 kB / 1.277 GB, free: 0.7578 MB / 0.9669 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.282e-05/0.9607, allocations: 7.938 kB / 1.277 GB, free: 0.75 MB / 0.9669 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-06/0.9607, allocations: 0 / 1.277 GB, free: 0.75 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 0.0001033/0.9608, allocations: 113.8 kB / 1.278 GB, free: 0.6289 MB / 0.9669 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.407e-05/0.9609, allocations: 7.953 kB / 1.278 GB, free: 0.6211 MB / 0.9669 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.217e-05/0.9609, allocations: 19.83 kB / 1.278 GB, free: 0.5977 MB / 0.9669 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.9609, allocations: 3.984 kB / 1.278 GB, free: 0.5938 MB / 0.9669 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.9609, allocations: 0 / 1.278 GB, free: 0.5938 MB / 0.9669 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.9609, allocations: 4 kB / 1.278 GB, free: 0.5898 MB / 0.9669 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004187/0.9613, allocations: 445.8 kB / 1.278 GB, free: 100 kB / 0.9669 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.9613, allocations: 4 kB / 1.278 GB, free: 96 kB / 0.9669 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.759e-05/0.9614, allocations: 3.938 kB / 1.278 GB, free: 92 kB / 0.9669 GB
Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/0.9614, allocations: 7.938 kB / 1.278 GB, free: 84 kB / 0.9669 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.9614, allocations: 0 / 1.278 GB, free: 84 kB / 0.9669 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.9614, allocations: 0 / 1.278 GB, free: 84 kB / 0.9669 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.9614, allocations: 0 / 1.278 GB, free: 84 kB / 0.9669 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001043/0.9615, allocations: 81.94 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB
Notification: Performance of postOpt removeConstants (simulation): time 3.65e-05/0.9615, allocations: 15.94 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.9615, allocations: 7.984 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.074e-05/0.9616, allocations: 0 / 1.278 GB, free: 15.96 MB / 0.9825 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.78e-05/0.9616, allocations: 0 / 1.278 GB, free: 15.96 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-06/0.9616, allocations: 0 / 1.278 GB, free: 15.96 MB / 0.9825 GB
Notification: Performance of sorting global known variables: time 9.931e-05/0.9617, allocations: 123.3 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 7e-08/0.9617, allocations: 0 / 1.278 GB, free: 15.84 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.0001885/0.9619, allocations: 8 kB / 1.278 GB, free: 15.83 MB / 0.9825 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.0001347/0.962, allocations: 99.19 kB / 1.278 GB, free: 15.72 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 8.892e-05/0.9621, allocations: 12 kB / 1.278 GB, free: 15.71 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.9621, allocations: 0 / 1.278 GB, free: 15.71 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 1.807e-05/0.9621, allocations: 16.11 kB / 1.278 GB, free: 15.7 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001781/0.9623, allocations: 19.94 kB / 1.278 GB, free: 15.68 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003964/0.9627, allocations: 154.6 kB / 1.279 GB, free: 15.49 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004361/0.9631, allocations: 0.6963 MB / 1.279 GB, free: 14.77 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 3.646e-05/0.9632, allocations: 8.422 kB / 1.279 GB, free: 14.76 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.834e-05/0.9632, allocations: 15.44 kB / 1.279 GB, free: 14.74 MB / 0.9825 GB
Notification: Performance of SimCode: time 3.21e-07/0.9632, allocations: 0 / 1.279 GB, free: 14.74 MB / 0.9825 GB
Notification: Performance of Templates: time 0.003093/0.9663, allocations: 478.1 kB / 1.28 GB, free: 14.28 MB / 0.9825 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_ton.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.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.595816805027425]