Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.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.001773/0.001773, allocations: 113.9 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.002163/0.002163, allocations: 187.4 kB / 22.22 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.708/1.708, allocations: 225.6 MB / 251 MB, free: 13.02 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.371/3.371, allocations: 496 MB / 0.7835 GB, free: 33.46 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.From_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal")
translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002101/0.002101, allocations: 63.12 kB / 1.138 GB, free: 33.79 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4642/0.4663, allocations: 173.6 MB / 1.307 GB, free: 1.738 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002138/0.4685, allocations: 0.846 MB / 1.308 GB, free: 0.8945 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.0001275/0.4686, allocations: 43.78 kB / 1.308 GB, free: 0.8516 MB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.769e-05/0.4687, allocations: 0 / 1.308 GB, free: 0.8516 MB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 4.239e-05/0.4687, allocations: 11.88 kB / 1.308 GB, free: 0.8398 MB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001022/0.4688, allocations: 11.88 kB / 1.308 GB, free: 0.8281 MB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 6.312e-05/0.4689, allocations: 19.97 kB / 1.308 GB, free: 0.8086 MB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 0.0001511/0.469, allocations: 59.84 kB / 1.308 GB, free: 0.75 MB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001833/0.4692, allocations: 35.97 kB / 1.308 GB, free: 0.7148 MB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 6.957e-05/0.4693, allocations: 23.92 kB / 1.308 GB, free: 0.6914 MB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 8.192e-05/0.4693, allocations: 31.73 kB / 1.308 GB, free: 0.6602 MB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 2.711e-05/0.4694, allocations: 8 kB / 1.308 GB, free: 0.6523 MB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.102e-05/0.4694, allocations: 4 kB / 1.308 GB, free: 0.6484 MB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 3.313e-05/0.4694, allocations: 19.92 kB / 1.308 GB, free: 0.6289 MB / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 4.759e-05/0.4695, allocations: 31.75 kB / 1.308 GB, free: 0.5977 MB / 0.9981 GB
Notification: Performance of NFConvertDAE.convert: time 0.000166/0.4696, allocations: 83.56 kB / 1.308 GB, free: 0.5156 MB / 0.9981 GB
Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.4696, allocations: 0 / 1.308 GB, free: 0.5156 MB / 0.9981 GB
Notification: Performance of FrontEnd: time 2.244e-06/0.4696, allocations: 0 / 1.308 GB, free: 0.5156 MB / 0.9981 GB
Notification: Performance of Transformations before backend: time 1.366e-05/0.4697, allocations: 0 / 1.308 GB, free: 0.5156 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.0005742/0.4702, allocations: 298 kB / 1.309 GB, free: 196 kB / 0.9981 GB
Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.4703, allocations: 8.922 kB / 1.309 GB, free: 188 kB / 0.9981 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.097e-05/0.4703, allocations: 20.84 kB / 1.309 GB, free: 168 kB / 0.9981 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002601/0.4706, allocations: 134.3 kB / 1.309 GB, free: 8 kB / 0.9981 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.4706, allocations: 8.375 kB / 1.309 GB, free: 0 / 0.9981 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.299e-05/0.4707, allocations: 8.453 kB / 1.309 GB, free: 15.99 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.4709, allocations: 99.88 kB / 1.309 GB, free: 15.88 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.4709, allocations: 192 / 1.309 GB, free: 15.88 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.4709, allocations: 3.938 kB / 1.309 GB, free: 15.88 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.383e-06/0.4709, allocations: 0 / 1.309 GB, free: 15.88 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.471, allocations: 35.98 kB / 1.309 GB, free: 15.84 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007165/0.4717, allocations: 411.7 kB / 1.309 GB, free: 15.39 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 9.786e-05/0.4718, allocations: 37.22 kB / 1.309 GB, free: 15.34 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.745e-05/0.4719, allocations: 13.78 kB / 1.31 GB, free: 15.32 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.4719, allocations: 0 / 1.31 GB, free: 15.32 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.436e-05/0.4719, allocations: 46.59 kB / 1.31 GB, free: 15.27 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.4719, allocations: 0 / 1.31 GB, free: 15.27 MB / 1.014 GB
Notification: Performance of matching and sorting (n=2): time 0.0002121/0.4721, allocations: 57.52 kB / 1.31 GB, free: 15.2 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.442e-05/0.4722, allocations: 77.11 kB / 1.31 GB, free: 15.11 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.4724, allocations: 158.2 kB / 1.31 GB, free: 14.95 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.4724, allocations: 25.7 kB / 1.31 GB, free: 14.91 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 9.122e-05/0.4725, allocations: 104.2 kB / 1.31 GB, free: 14.81 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 9.959e-06/0.4725, allocations: 11.98 kB / 1.31 GB, free: 14.8 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.116e-05/0.4725, allocations: 21.67 kB / 1.31 GB, free: 14.77 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001577/0.4727, allocations: 318.8 kB / 1.31 GB, free: 14.45 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 2.624e-05/0.4727, allocations: 4 kB / 1.31 GB, free: 14.45 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.943e-05/0.4728, allocations: 21.72 kB / 1.31 GB, free: 14.42 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 4.736e-05/0.4728, allocations: 29.66 kB / 1.31 GB, free: 14.38 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4728, allocations: 4 kB / 1.31 GB, free: 14.38 MB / 1.014 GB
Notification: Performance of matching and sorting (n=4) (initialization): time 8.918e-05/0.4729, allocations: 57.64 kB / 1.31 GB, free: 14.32 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.4729, allocations: 4 kB / 1.31 GB, free: 14.31 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.4729, allocations: 3.938 kB / 1.31 GB, free: 14.31 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.4729, allocations: 4 kB / 1.31 GB, free: 14.3 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.754e-05/0.473, allocations: 4 kB / 1.31 GB, free: 14.3 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.473, allocations: 3.938 kB / 1.31 GB, free: 14.3 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.804e-05/0.473, allocations: 7.938 kB / 1.31 GB, free: 14.29 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.473, allocations: 64 / 1.31 GB, free: 14.29 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.0001135/0.4732, allocations: 130.5 kB / 1.311 GB, free: 14.15 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.371e-05/0.4732, allocations: 11.91 kB / 1.311 GB, free: 14.14 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.92e-05/0.4732, allocations: 15.75 kB / 1.311 GB, free: 14.12 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.4732, allocations: 0 / 1.311 GB, free: 14.12 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.4732, allocations: 0 / 1.311 GB, free: 14.12 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.4732, allocations: 96 / 1.311 GB, free: 14.12 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004483/0.4737, allocations: 445.8 kB / 1.311 GB, free: 13.63 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.4737, allocations: 7.984 kB / 1.311 GB, free: 13.62 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.884e-05/0.4737, allocations: 4 kB / 1.311 GB, free: 13.62 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.4737, allocations: 3.984 kB / 1.311 GB, free: 13.62 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.511e-06/0.4737, allocations: 4 kB / 1.311 GB, free: 13.61 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.4737, allocations: 0 / 1.311 GB, free: 13.61 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.4737, allocations: 0 / 1.311 GB, free: 13.61 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001182/0.4738, allocations: 81.89 kB / 1.311 GB, free: 13.51 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 3.68e-05/0.4739, allocations: 11.94 kB / 1.311 GB, free: 13.5 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.4739, allocations: 4 kB / 1.311 GB, free: 13.5 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.108e-05/0.4739, allocations: 4 kB / 1.311 GB, free: 13.49 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.927e-05/0.4739, allocations: 0 / 1.311 GB, free: 13.49 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-06/0.4739, allocations: 0 / 1.311 GB, free: 13.49 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0001031/0.474, allocations: 121.7 kB / 1.311 GB, free: 13.38 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8e-08/0.474, allocations: 0 / 1.311 GB, free: 13.38 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0001829/0.4742, allocations: 8 kB / 1.311 GB, free: 13.37 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.0001374/0.4744, allocations: 99.28 kB / 1.311 GB, free: 13.26 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0001064/0.4745, allocations: 19.92 kB / 1.311 GB, free: 13.24 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4745, allocations: 0 / 1.311 GB, free: 13.24 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 1.248e-05/0.4745, allocations: 8 kB / 1.311 GB, free: 13.23 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001627/0.4746, allocations: 8.875 kB / 1.311 GB, free: 13.23 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003726/0.475, allocations: 158.9 kB / 1.312 GB, free: 13.04 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003845/0.4754, allocations: 0.6963 MB / 1.312 GB, free: 12.31 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 3.624e-05/0.4754, allocations: 4.438 kB / 1.312 GB, free: 12.3 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.498e-05/0.4755, allocations: 11.44 kB / 1.312 GB, free: 12.3 MB / 1.014 GB
Notification: Performance of SimCode: time 4.11e-07/0.4755, allocations: 0 / 1.312 GB, free: 12.3 MB / 1.014 GB
Notification: Performance of Templates: time 0.003205/0.4787, allocations: 484.5 kB / 1.313 GB, free: 11.82 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.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.950014229863882]