Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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.002075/0.002075, allocations: 110 kB / 18.93 MB, free: 2.945 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.002675/0.002675, allocations: 188 kB / 22.22 MB, free: 5.164 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.479/1.479, allocations: 225.6 MB / 251 MB, free: 13 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.869/2.869, allocations: 476.7 MB / 0.7646 GB, free: 9.797 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.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton")
translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002296/0.002296, allocations: 63.89 kB / 1.11 GB, free: 6.254 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.9393/0.9416, allocations: 168.8 MB / 1.274 GB, free: 4.145 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002191/0.9438, allocations: 0.8422 MB / 1.275 GB, free: 3.309 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.0001206/0.944, allocations: 35.8 kB / 1.275 GB, free: 3.273 MB / 0.9669 GB
Notification: Performance of NFInst.updateImplicitVariability: time 6.517e-05/0.944, allocations: 0 / 1.275 GB, free: 3.273 MB / 0.9669 GB
Notification: Performance of NFTyping.typeComponents: time 3.642e-05/0.9441, allocations: 11.88 kB / 1.275 GB, free: 3.262 MB / 0.9669 GB
Notification: Performance of NFTyping.typeBindings: time 7.486e-05/0.9441, allocations: 23.84 kB / 1.275 GB, free: 3.238 MB / 0.9669 GB
Notification: Performance of NFTyping.typeClassSections: time 6.148e-05/0.9442, allocations: 15.98 kB / 1.275 GB, free: 3.223 MB / 0.9669 GB
Notification: Performance of NFFlatten.flatten: time 0.0001307/0.9443, allocations: 55.84 kB / 1.275 GB, free: 3.168 MB / 0.9669 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.9445, allocations: 35.94 kB / 1.275 GB, free: 3.133 MB / 0.9669 GB
Notification: Performance of NFEvalConstants.evaluate: time 5.817e-05/0.9445, allocations: 27.86 kB / 1.275 GB, free: 3.105 MB / 0.9669 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.268e-05/0.9446, allocations: 23.86 kB / 1.275 GB, free: 3.082 MB / 0.9669 GB
Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.9446, allocations: 8 kB / 1.275 GB, free: 3.074 MB / 0.9669 GB
Notification: Performance of NFFlatten.collectFunctions: time 9.127e-06/0.9446, allocations: 7.938 kB / 1.275 GB, free: 3.066 MB / 0.9669 GB
Notification: Performance of NFScalarize.scalarize: time 2.408e-05/0.9446, allocations: 15.92 kB / 1.275 GB, free: 3.051 MB / 0.9669 GB
Notification: Performance of NFVerifyModel.verify: time 3.923e-05/0.9447, allocations: 31.75 kB / 1.275 GB, free: 3.02 MB / 0.9669 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001366/0.9448, allocations: 82.02 kB / 1.276 GB, free: 2.945 MB / 0.9669 GB
Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.9448, allocations: 4 kB / 1.276 GB, free: 2.941 MB / 0.9669 GB
Notification: Performance of FrontEnd: time 2.264e-06/0.9448, allocations: 0 / 1.276 GB, free: 2.941 MB / 0.9669 GB
Notification: Performance of Transformations before backend: time 4.859e-06/0.9448, allocations: 3.938 kB / 1.276 GB, free: 2.938 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.0004722/0.9453, allocations: 301 kB / 1.276 GB, free: 2.613 MB / 0.9669 GB
Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.9453, allocations: 8.031 kB / 1.276 GB, free: 2.605 MB / 0.9669 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.089e-05/0.9454, allocations: 16.84 kB / 1.276 GB, free: 2.59 MB / 0.9669 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002227/0.9456, allocations: 138.3 kB / 1.276 GB, free: 2.43 MB / 0.9669 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.9456, allocations: 8.375 kB / 1.276 GB, free: 2.422 MB / 0.9669 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.9456, allocations: 8.375 kB / 1.276 GB, free: 2.414 MB / 0.9669 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.9458, allocations: 91.95 kB / 1.276 GB, free: 2.312 MB / 0.9669 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.9458, allocations: 192 / 1.276 GB, free: 2.312 MB / 0.9669 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.9458, allocations: 7.938 kB / 1.276 GB, free: 2.305 MB / 0.9669 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.9458, allocations: 0 / 1.276 GB, free: 2.305 MB / 0.9669 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.373e-05/0.9459, allocations: 35.92 kB / 1.276 GB, free: 2.27 MB / 0.9669 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000598/0.9465, allocations: 411.7 kB / 1.277 GB, free: 1.82 MB / 0.9669 GB
Notification: Performance of preOpt comSubExp (simulation): time 6.584e-05/0.9466, allocations: 37.34 kB / 1.277 GB, free: 1.766 MB / 0.9669 GB
Notification: Performance of preOpt resolveLoops (simulation): time 3.841e-05/0.9466, allocations: 17.78 kB / 1.277 GB, free: 1.742 MB / 0.9669 GB
Notification: Performance of preOpt evalFunc (simulation): time 8.376e-06/0.9466, allocations: 0 / 1.277 GB, free: 1.742 MB / 0.9669 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.9466, allocations: 38.56 kB / 1.277 GB, free: 1.695 MB / 0.9669 GB
Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.9466, allocations: 0 / 1.277 GB, free: 1.695 MB / 0.9669 GB
Notification: Performance of matching and sorting (n=2): time 0.0002126/0.9469, allocations: 57.52 kB / 1.277 GB, free: 1.633 MB / 0.9669 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.945e-05/0.9469, allocations: 81.05 kB / 1.277 GB, free: 1.535 MB / 0.9669 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001646/0.9471, allocations: 161.7 kB / 1.277 GB, free: 1.367 MB / 0.9669 GB
Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.9471, allocations: 25.7 kB / 1.277 GB, free: 1.336 MB / 0.9669 GB
Notification: Performance of collectInitialEqns (initialization): time 7.581e-05/0.9472, allocations: 108 kB / 1.277 GB, free: 1.227 MB / 0.9669 GB
Notification: Performance of collectInitialBindings (initialization): time 9.057e-06/0.9472, allocations: 8.203 kB / 1.277 GB, free: 1.219 MB / 0.9669 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.801e-05/0.9472, allocations: 21.67 kB / 1.277 GB, free: 1.191 MB / 0.9669 GB
Notification: Performance of setup shared object (initialization): time 0.0001554/0.9474, allocations: 318.8 kB / 1.277 GB, free: 0.8711 MB / 0.9669 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 2.018e-05/0.9474, allocations: 8 kB / 1.277 GB, free: 0.8633 MB / 0.9669 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.838e-05/0.9474, allocations: 17.72 kB / 1.277 GB, free: 0.8398 MB / 0.9669 GB
Notification: Performance of analyzeInitialSystem (initialization): time 4.12e-05/0.9475, allocations: 21.72 kB / 1.277 GB, free: 0.8125 MB / 0.9669 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.9475, allocations: 8 kB / 1.277 GB, free: 0.8047 MB / 0.9669 GB
Notification: Performance of matching and sorting (n=4) (initialization): time 8.919e-05/0.9476, allocations: 57.58 kB / 1.277 GB, free: 0.7422 MB / 0.9669 GB
Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.9476, allocations: 4 kB / 1.277 GB, free: 0.7383 MB / 0.9669 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.9476, allocations: 7.875 kB / 1.277 GB, free: 0.7305 MB / 0.9669 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.9476, allocations: 4 kB / 1.277 GB, free: 0.7266 MB / 0.9669 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.413e-05/0.9477, allocations: 11.94 kB / 1.277 GB, free: 0.7148 MB / 0.9669 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.9477, allocations: 0 / 1.277 GB, free: 0.7148 MB / 0.9669 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.025e-05/0.9477, allocations: 7.938 kB / 1.277 GB, free: 0.707 MB / 0.9669 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-06/0.9477, allocations: 0 / 1.277 GB, free: 0.707 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.62e-05/0.9478, allocations: 125.8 kB / 1.278 GB, free: 0.5742 MB / 0.9669 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.382e-05/0.9478, allocations: 7.953 kB / 1.278 GB, free: 0.5664 MB / 0.9669 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.671e-05/0.9479, allocations: 11.75 kB / 1.278 GB, free: 0.5508 MB / 0.9669 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.9479, allocations: 0 / 1.278 GB, free: 0.5508 MB / 0.9669 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.9479, allocations: 0 / 1.278 GB, free: 0.5508 MB / 0.9669 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.9479, allocations: 0 / 1.278 GB, free: 0.5508 MB / 0.9669 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004267/0.9483, allocations: 449.8 kB / 1.278 GB, free: 56 kB / 0.9669 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.9483, allocations: 8.062 kB / 1.278 GB, free: 48 kB / 0.9669 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.01e-05/0.9483, allocations: 3.984 kB / 1.278 GB, free: 44 kB / 0.9669 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.9483, allocations: 4 kB / 1.278 GB, free: 40 kB / 0.9669 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.9483, allocations: 0 / 1.278 GB, free: 40 kB / 0.9669 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.9483, allocations: 0 / 1.278 GB, free: 40 kB / 0.9669 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.9483, allocations: 0 / 1.278 GB, free: 40 kB / 0.9669 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001243/0.9485, allocations: 85.97 kB / 1.278 GB, free: 15.93 MB / 0.9825 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.815e-05/0.9485, allocations: 11.94 kB / 1.278 GB, free: 15.92 MB / 0.9825 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.9485, allocations: 0 / 1.278 GB, free: 15.92 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.453e-05/0.9485, allocations: 7.938 kB / 1.278 GB, free: 15.91 MB / 0.9825 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.066e-05/0.9485, allocations: 0 / 1.278 GB, free: 15.91 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.9485, allocations: 0 / 1.278 GB, free: 15.91 MB / 0.9825 GB
Notification: Performance of sorting global known variables: time 9.711e-05/0.9486, allocations: 119.2 kB / 1.278 GB, free: 15.8 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 9e-08/0.9486, allocations: 0 / 1.278 GB, free: 15.8 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.000192/0.9488, allocations: 12 kB / 1.278 GB, free: 15.79 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.0001181/0.9489, allocations: 99.28 kB / 1.278 GB, free: 15.68 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 9.259e-05/0.949, allocations: 15.98 kB / 1.278 GB, free: 15.66 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.949, allocations: 0 / 1.278 GB, free: 15.66 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 1.049e-05/0.949, allocations: 7.938 kB / 1.278 GB, free: 15.66 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001634/0.9492, allocations: 13.81 kB / 1.278 GB, free: 15.64 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003594/0.9496, allocations: 159 kB / 1.279 GB, free: 15.45 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.9499, allocations: 0.7 MB / 1.279 GB, free: 14.73 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 3.477e-05/0.9499, allocations: 8.422 kB / 1.279 GB, free: 14.72 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.551e-05/0.95, allocations: 15.38 kB / 1.279 GB, free: 14.7 MB / 0.9825 GB
Notification: Performance of SimCode: time 4.41e-07/0.95, allocations: 0 / 1.279 GB, free: 14.7 MB / 0.9825 GB
Notification: Performance of Templates: time 0.003003/0.953, allocations: 478.1 kB / 1.28 GB, free: 14.24 MB / 0.9825 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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.318099870346487]