Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_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.00179/0.00179, 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.00226/0.00226, allocations: 191.5 kB / 22.23 MB, free: 5.098 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.538/1.538, allocations: 225.6 MB / 251 MB, free: 13.21 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.909/2.909, allocations: 476.7 MB / 0.7646 GB, free: 9.887 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_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal")
translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002142/0.002142, allocations: 59.91 kB / 1.11 GB, free: 6.285 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.154/1.156, allocations: 168.8 MB / 1.274 GB, free: 4.168 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002362/1.159, allocations: 0.8431 MB / 1.275 GB, free: 3.328 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.0001179/1.159, allocations: 39.8 kB / 1.275 GB, free: 3.289 MB / 0.9669 GB
Notification: Performance of NFInst.updateImplicitVariability: time 6.255e-05/1.159, allocations: 0 / 1.275 GB, free: 3.289 MB / 0.9669 GB
Notification: Performance of NFTyping.typeComponents: time 4.217e-05/1.159, allocations: 7.875 kB / 1.275 GB, free: 3.281 MB / 0.9669 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001008/1.159, allocations: 15.86 kB / 1.275 GB, free: 3.266 MB / 0.9669 GB
Notification: Performance of NFTyping.typeClassSections: time 4.703e-05/1.159, allocations: 15.98 kB / 1.275 GB, free: 3.25 MB / 0.9669 GB
Notification: Performance of NFFlatten.flatten: time 0.0001304/1.159, allocations: 63.83 kB / 1.275 GB, free: 3.188 MB / 0.9669 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/1.159, allocations: 31.94 kB / 1.275 GB, free: 3.156 MB / 0.9669 GB
Notification: Performance of NFEvalConstants.evaluate: time 7.355e-05/1.159, allocations: 27.92 kB / 1.275 GB, free: 3.129 MB / 0.9669 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.449e-05/1.159, allocations: 27.8 kB / 1.275 GB, free: 3.102 MB / 0.9669 GB
Notification: Performance of NFPackage.collectConstants: time 2.203e-05/1.159, allocations: 8 kB / 1.275 GB, free: 3.094 MB / 0.9669 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.136e-05/1.16, allocations: 4 kB / 1.275 GB, free: 3.09 MB / 0.9669 GB
Notification: Performance of NFScalarize.scalarize: time 2.974e-05/1.16, allocations: 23.86 kB / 1.275 GB, free: 3.066 MB / 0.9669 GB
Notification: Performance of NFVerifyModel.verify: time 4.981e-05/1.16, allocations: 35.8 kB / 1.275 GB, free: 3.031 MB / 0.9669 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001417/1.16, allocations: 70.03 kB / 1.276 GB, free: 2.969 MB / 0.9669 GB
Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/1.16, allocations: 0 / 1.276 GB, free: 2.969 MB / 0.9669 GB
Notification: Performance of FrontEnd: time 1.372e-06/1.16, allocations: 0 / 1.276 GB, free: 2.969 MB / 0.9669 GB
Notification: Performance of Transformations before backend: time 8.345e-06/1.16, allocations: 0 / 1.276 GB, free: 2.969 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.0005155/1.16, allocations: 306 kB / 1.276 GB, free: 2.637 MB / 0.9669 GB
Notification: Performance of prepare preOptimizeDAE: time 5.933e-05/1.16, allocations: 12.03 kB / 1.276 GB, free: 2.625 MB / 0.9669 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.595e-05/1.16, allocations: 16.83 kB / 1.276 GB, free: 2.609 MB / 0.9669 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/1.161, allocations: 138.3 kB / 1.276 GB, free: 2.449 MB / 0.9669 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/1.161, allocations: 4.375 kB / 1.276 GB, free: 2.445 MB / 0.9669 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/1.161, allocations: 8.375 kB / 1.276 GB, free: 2.438 MB / 0.9669 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/1.161, allocations: 91.95 kB / 1.276 GB, free: 2.336 MB / 0.9669 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/1.161, allocations: 4.125 kB / 1.276 GB, free: 2.332 MB / 0.9669 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/1.161, allocations: 7.938 kB / 1.276 GB, free: 2.324 MB / 0.9669 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/1.161, allocations: 4 kB / 1.276 GB, free: 2.32 MB / 0.9669 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.75e-05/1.161, allocations: 35.98 kB / 1.276 GB, free: 2.285 MB / 0.9669 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005841/1.162, allocations: 399.9 kB / 1.277 GB, free: 1.848 MB / 0.9669 GB
Notification: Performance of preOpt comSubExp (simulation): time 7.671e-05/1.162, allocations: 45.09 kB / 1.277 GB, free: 1.785 MB / 0.9669 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.13e-05/1.162, allocations: 13.84 kB / 1.277 GB, free: 1.766 MB / 0.9669 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.078e-05/1.162, allocations: 4 kB / 1.277 GB, free: 1.762 MB / 0.9669 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/1.162, allocations: 38.5 kB / 1.277 GB, free: 1.715 MB / 0.9669 GB
Notification: Performance of pre-optimization done (n=2): time 1.242e-06/1.162, allocations: 3.938 kB / 1.277 GB, free: 1.711 MB / 0.9669 GB
Notification: Performance of matching and sorting (n=2): time 0.0001899/1.162, allocations: 57.8 kB / 1.277 GB, free: 1.648 MB / 0.9669 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.244e-05/1.162, allocations: 85.05 kB / 1.277 GB, free: 1.547 MB / 0.9669 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/1.162, allocations: 155.3 kB / 1.277 GB, free: 1.383 MB / 0.9669 GB
Notification: Performance of collectPreVariables (initialization): time 2.856e-05/1.162, allocations: 29.7 kB / 1.277 GB, free: 1.348 MB / 0.9669 GB
Notification: Performance of collectInitialEqns (initialization): time 7.94e-05/1.162, allocations: 104 kB / 1.277 GB, free: 1.242 MB / 0.9669 GB
Notification: Performance of collectInitialBindings (initialization): time 1.02e-05/1.162, allocations: 3.953 kB / 1.277 GB, free: 1.238 MB / 0.9669 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.96e-05/1.162, allocations: 21.67 kB / 1.277 GB, free: 1.211 MB / 0.9669 GB
Notification: Performance of setup shared object (initialization): time 0.00017/1.162, allocations: 318.8 kB / 1.277 GB, free: 0.8906 MB / 0.9669 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.72e-05/1.162, allocations: 8.031 kB / 1.277 GB, free: 0.8828 MB / 0.9669 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.561e-05/1.162, allocations: 17.72 kB / 1.277 GB, free: 0.8594 MB / 0.9669 GB
Notification: Performance of analyzeInitialSystem (initialization): time 4.698e-05/1.163, allocations: 25.72 kB / 1.277 GB, free: 0.8281 MB / 0.9669 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/1.163, allocations: 0 / 1.277 GB, free: 0.8281 MB / 0.9669 GB
Notification: Performance of matching and sorting (n=4) (initialization): time 8.725e-05/1.163, allocations: 61.58 kB / 1.277 GB, free: 0.7617 MB / 0.9669 GB
Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/1.163, allocations: 4 kB / 1.277 GB, free: 0.7578 MB / 0.9669 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/1.163, allocations: 12 kB / 1.277 GB, free: 0.7461 MB / 0.9669 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/1.163, allocations: 96 / 1.277 GB, free: 0.7461 MB / 0.9669 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.381e-05/1.163, allocations: 8 kB / 1.277 GB, free: 0.7383 MB / 0.9669 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/1.163, allocations: 3.984 kB / 1.277 GB, free: 0.7344 MB / 0.9669 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.374e-05/1.163, allocations: 19.8 kB / 1.277 GB, free: 0.7148 MB / 0.9669 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/1.163, allocations: 0 / 1.277 GB, free: 0.7148 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.0001765/1.163, allocations: 116 kB / 1.278 GB, free: 0.5938 MB / 0.9669 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.496e-05/1.163, allocations: 7.953 kB / 1.278 GB, free: 0.5859 MB / 0.9669 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.046e-05/1.163, allocations: 15.75 kB / 1.278 GB, free: 0.5664 MB / 0.9669 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/1.163, allocations: 4 kB / 1.278 GB, free: 0.5625 MB / 0.9669 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/1.163, allocations: 0 / 1.278 GB, free: 0.5625 MB / 0.9669 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/1.163, allocations: 4 kB / 1.278 GB, free: 0.5586 MB / 0.9669 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005361/1.164, allocations: 445.8 kB / 1.278 GB, free: 68 kB / 0.9669 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/1.164, allocations: 0 / 1.278 GB, free: 68 kB / 0.9669 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.629e-05/1.164, allocations: 0 / 1.278 GB, free: 68 kB / 0.9669 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/1.164, allocations: 4 kB / 1.278 GB, free: 64 kB / 0.9669 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.457e-06/1.164, allocations: 8.062 kB / 1.278 GB, free: 56 kB / 0.9669 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/1.164, allocations: 0 / 1.278 GB, free: 56 kB / 0.9669 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.164, allocations: 0 / 1.278 GB, free: 56 kB / 0.9669 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00012/1.164, allocations: 81.81 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB
Notification: Performance of postOpt removeConstants (simulation): time 3.509e-05/1.164, allocations: 7.953 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/1.164, allocations: 8 kB / 1.278 GB, free: 15.94 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.987e-05/1.164, allocations: 0 / 1.278 GB, free: 15.94 MB / 0.9825 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.522e-05/1.164, allocations: 4.031 kB / 1.278 GB, free: 15.93 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-06/1.164, allocations: 0 / 1.278 GB, free: 15.93 MB / 0.9825 GB
Notification: Performance of sorting global known variables: time 9.964e-05/1.164, allocations: 121.1 kB / 1.278 GB, free: 15.82 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 5e-08/1.164, allocations: 0 / 1.278 GB, free: 15.82 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.0002001/1.164, allocations: 11.94 kB / 1.278 GB, free: 15.8 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.0001275/1.164, allocations: 99.23 kB / 1.278 GB, free: 15.7 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 9.317e-05/1.164, allocations: 16 kB / 1.278 GB, free: 15.68 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.164, allocations: 4.062 kB / 1.278 GB, free: 15.68 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 1.465e-05/1.164, allocations: 8 kB / 1.278 GB, free: 15.67 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001605/1.164, allocations: 12.55 kB / 1.278 GB, free: 15.66 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003678/1.165, allocations: 162.6 kB / 1.279 GB, free: 15.47 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003601/1.165, allocations: 0.6925 MB / 1.279 GB, free: 14.75 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 3.361e-05/1.165, allocations: 12.42 kB / 1.279 GB, free: 14.74 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.948e-05/1.165, allocations: 11.44 kB / 1.279 GB, free: 14.73 MB / 0.9825 GB
Notification: Performance of SimCode: time 6.11e-07/1.165, allocations: 0 / 1.279 GB, free: 14.73 MB / 0.9825 GB
Notification: Performance of Templates: time 0.003289/1.169, allocations: 494 kB / 1.28 GB, free: 14.25 MB / 0.9825 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_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.78612451069057]