Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001519/0.001519, allocations: 104.6 kB / 18.84 MB, free: 3.023 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.001932/0.001932, allocations: 191.5 kB / 22.1 MB, free: 4.637 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.651/1.651, allocations: 225.6 MB / 250.8 MB, free: 13.05 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.357/3.357, allocations: 495.8 MB / 0.783 GB, free: 33.57 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_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002175/0.002175, allocations: 67.39 kB / 1.137 GB, free: 33.85 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4459/0.4481, allocations: 173.6 MB / 1.307 GB, free: 1.84 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002251/0.4503, allocations: 0.8571 MB / 1.308 GB, free: 0.9844 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.000123/0.4505, allocations: 39.78 kB / 1.308 GB, free: 0.9453 MB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 6.306e-05/0.4505, allocations: 0 / 1.308 GB, free: 0.9453 MB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 4.179e-05/0.4506, allocations: 7.875 kB / 1.308 GB, free: 0.9375 MB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 9.37e-05/0.4506, allocations: 19.86 kB / 1.308 GB, free: 0.918 MB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 5.066e-05/0.4507, allocations: 11.98 kB / 1.308 GB, free: 0.9062 MB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 0.0001336/0.4508, allocations: 67.83 kB / 1.308 GB, free: 0.8398 MB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001525/0.451, allocations: 39.94 kB / 1.308 GB, free: 0.8008 MB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 8.525e-05/0.4511, allocations: 27.86 kB / 1.308 GB, free: 0.7734 MB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 6.036e-05/0.4511, allocations: 31.78 kB / 1.308 GB, free: 0.7422 MB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 2.503e-05/0.4512, allocations: 8 kB / 1.308 GB, free: 0.7344 MB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 9.688e-06/0.4512, allocations: 4 kB / 1.308 GB, free: 0.7305 MB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 2.282e-05/0.4512, allocations: 11.94 kB / 1.308 GB, free: 0.7188 MB / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 4.588e-05/0.4512, allocations: 35.8 kB / 1.308 GB, free: 0.6836 MB / 0.9981 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001315/0.4514, allocations: 75.58 kB / 1.308 GB, free: 0.6094 MB / 0.9981 GB
Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.4514, allocations: 0 / 1.308 GB, free: 0.6094 MB / 0.9981 GB
Notification: Performance of FrontEnd: time 2.544e-06/0.4514, allocations: 4 kB / 1.308 GB, free: 0.6055 MB / 0.9981 GB
Notification: Performance of Transformations before backend: time 5.65e-06/0.4514, allocations: 0 / 1.308 GB, free: 0.6055 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.0004983/0.4519, allocations: 303.8 kB / 1.308 GB, free: 284 kB / 0.9981 GB
Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.4519, allocations: 15.97 kB / 1.308 GB, free: 268 kB / 0.9981 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.932e-05/0.452, allocations: 12.84 kB / 1.308 GB, free: 256 kB / 0.9981 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002084/0.4522, allocations: 130.4 kB / 1.308 GB, free: 100 kB / 0.9981 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.4522, allocations: 8.375 kB / 1.308 GB, free: 92 kB / 0.9981 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/0.4522, allocations: 4.375 kB / 1.308 GB, free: 88 kB / 0.9981 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/0.4524, allocations: 99.89 kB / 1.308 GB, free: 15.98 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.4524, allocations: 192 / 1.308 GB, free: 15.98 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.4524, allocations: 7.938 kB / 1.309 GB, free: 15.97 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.4524, allocations: 4 kB / 1.309 GB, free: 15.96 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 7.544e-05/0.4525, allocations: 31.98 kB / 1.309 GB, free: 15.93 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006328/0.4531, allocations: 411.8 kB / 1.309 GB, free: 15.48 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 8.272e-05/0.4532, allocations: 33.22 kB / 1.309 GB, free: 15.43 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 5.081e-05/0.4533, allocations: 17.78 kB / 1.309 GB, free: 15.41 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.003e-05/0.4533, allocations: 0 / 1.309 GB, free: 15.41 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.896e-05/0.4533, allocations: 42.58 kB / 1.309 GB, free: 15.36 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.4533, allocations: 4 kB / 1.309 GB, free: 15.36 MB / 1.014 GB
Notification: Performance of matching and sorting (n=2): time 0.0002291/0.4536, allocations: 57.47 kB / 1.309 GB, free: 15.29 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.702e-05/0.4537, allocations: 77.11 kB / 1.309 GB, free: 15.2 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002046/0.4539, allocations: 161.3 kB / 1.309 GB, free: 15.04 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.4539, allocations: 25.7 kB / 1.309 GB, free: 15 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 9.975e-05/0.454, allocations: 104 kB / 1.309 GB, free: 14.9 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 1.482e-05/0.454, allocations: 11.95 kB / 1.309 GB, free: 14.89 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.122e-05/0.454, allocations: 21.92 kB / 1.309 GB, free: 14.86 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001881/0.4542, allocations: 318.8 kB / 1.31 GB, free: 14.54 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 2.159e-05/0.4543, allocations: 8 kB / 1.31 GB, free: 14.53 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.328e-05/0.4543, allocations: 13.72 kB / 1.31 GB, free: 14.51 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 7.055e-05/0.4544, allocations: 33.64 kB / 1.31 GB, free: 14.47 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/0.4544, allocations: 4 kB / 1.31 GB, free: 14.47 MB / 1.014 GB
Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001437/0.4545, allocations: 53.66 kB / 1.31 GB, free: 14.41 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.4545, allocations: 4 kB / 1.31 GB, free: 14.41 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.4545, allocations: 3.938 kB / 1.31 GB, free: 14.4 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.874e-05/0.4546, allocations: 4 kB / 1.31 GB, free: 14.4 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.464e-05/0.4547, allocations: 15.86 kB / 1.31 GB, free: 14.38 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.4547, allocations: 0 / 1.31 GB, free: 14.38 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.64e-05/0.4547, allocations: 8 kB / 1.31 GB, free: 14.38 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-06/0.4547, allocations: 0 / 1.31 GB, free: 14.38 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.0001136/0.4548, allocations: 122.6 kB / 1.31 GB, free: 14.25 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.825e-05/0.4549, allocations: 7.953 kB / 1.31 GB, free: 14.24 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.286e-05/0.4549, allocations: 15.73 kB / 1.31 GB, free: 14.22 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.4549, allocations: 4 kB / 1.31 GB, free: 14.22 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.4549, allocations: 0 / 1.31 GB, free: 14.22 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.4549, allocations: 0 / 1.31 GB, free: 14.22 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005591/0.4555, allocations: 449.7 kB / 1.31 GB, free: 13.72 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4555, allocations: 4.062 kB / 1.31 GB, free: 13.72 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.754e-05/0.4555, allocations: 4 kB / 1.31 GB, free: 13.71 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.4555, allocations: 0 / 1.31 GB, free: 13.71 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.4555, allocations: 4 kB / 1.31 GB, free: 13.71 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.4555, allocations: 0 / 1.31 GB, free: 13.71 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4555, allocations: 0 / 1.31 GB, free: 13.71 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001002/0.4556, allocations: 81.81 kB / 1.311 GB, free: 13.61 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.729e-05/0.4556, allocations: 15.98 kB / 1.311 GB, free: 13.59 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.4557, allocations: 0 / 1.311 GB, free: 13.59 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.006e-05/0.4557, allocations: 0 / 1.311 GB, free: 13.59 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.866e-05/0.4557, allocations: 12.06 kB / 1.311 GB, free: 13.58 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/0.4557, allocations: 0 / 1.311 GB, free: 13.58 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0001158/0.4558, allocations: 115.3 kB / 1.311 GB, free: 13.47 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8.1e-08/0.4558, allocations: 0 / 1.311 GB, free: 13.47 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0001911/0.456, allocations: 15.98 kB / 1.311 GB, free: 13.45 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.0001237/0.4561, allocations: 99.19 kB / 1.311 GB, free: 13.35 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0001047/0.4562, allocations: 19.94 kB / 1.311 GB, free: 13.33 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.4562, allocations: 0 / 1.311 GB, free: 13.33 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 1.14e-05/0.4562, allocations: 4 kB / 1.311 GB, free: 13.32 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001653/0.4564, allocations: 12.72 kB / 1.311 GB, free: 13.31 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003928/0.4568, allocations: 158.6 kB / 1.311 GB, free: 13.12 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003783/0.4572, allocations: 0.7004 MB / 1.312 GB, free: 12.39 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 3.592e-05/0.4572, allocations: 8.422 kB / 1.312 GB, free: 12.39 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.884e-05/0.4572, allocations: 11.44 kB / 1.312 GB, free: 12.38 MB / 1.014 GB
Notification: Performance of SimCode: time 2.91e-07/0.4572, allocations: 0 / 1.312 GB, free: 12.38 MB / 1.014 GB
Notification: Performance of Templates: time 0.003381/0.4606, allocations: 480.4 kB / 1.312 GB, free: 11.91 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.730963960289955]