Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.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.001836/0.001836, allocations: 110 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.0019/0.0019, allocations: 188.4 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.463/1.463, 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-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.289/3.289, allocations: 0.4893 GB / 0.7884 GB, free: 33.2 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-master/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_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp")
translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.00221/0.00221, allocations: 71.16 kB / 1.145 GB, free: 30.73 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4551/0.4574, allocations: 174.9 MB / 1.316 GB, free: 9.699 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.002202/0.4596, allocations: 0.8374 MB / 1.317 GB, free: 8.863 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.0001257/0.4597, allocations: 47.78 kB / 1.317 GB, free: 8.816 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.703e-05/0.4597, allocations: 0 / 1.317 GB, free: 8.816 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 5.14e-05/0.4598, allocations: 7.922 kB / 1.317 GB, free: 8.809 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 7.729e-05/0.4599, allocations: 7.875 kB / 1.317 GB, free: 8.801 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 5.459e-05/0.4599, allocations: 19.98 kB / 1.317 GB, free: 8.781 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0001254/0.46, allocations: 67.72 kB / 1.317 GB, free: 8.715 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/0.4602, allocations: 35.97 kB / 1.317 GB, free: 8.68 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 8.011e-05/0.4603, allocations: 23.88 kB / 1.317 GB, free: 8.656 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.905e-05/0.4603, allocations: 31.84 kB / 1.317 GB, free: 8.625 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 2.596e-05/0.4604, allocations: 8 kB / 1.317 GB, free: 8.617 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.154e-05/0.4604, allocations: 4 kB / 1.317 GB, free: 8.613 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 2.677e-05/0.4604, allocations: 15.94 kB / 1.317 GB, free: 8.598 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 5.306e-05/0.4605, allocations: 35.78 kB / 1.317 GB, free: 8.562 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001378/0.4606, allocations: 79.47 kB / 1.317 GB, free: 8.484 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4606, allocations: 0 / 1.317 GB, free: 8.484 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.823e-06/0.4606, allocations: 0 / 1.317 GB, free: 8.484 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 6.312e-06/0.4606, allocations: 0 / 1.317 GB, free: 8.484 MB / 1.014 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.0005064/0.4611, allocations: 314 kB / 1.318 GB, free: 8.145 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.4611, allocations: 8.031 kB / 1.318 GB, free: 8.137 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.669e-05/0.4612, allocations: 12.89 kB / 1.318 GB, free: 8.125 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002332/0.4614, allocations: 134.3 kB / 1.318 GB, free: 7.969 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.4614, allocations: 8.375 kB / 1.318 GB, free: 7.961 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.4614, allocations: 4.375 kB / 1.318 GB, free: 7.957 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.4616, allocations: 91.95 kB / 1.318 GB, free: 7.855 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.4616, allocations: 192 / 1.318 GB, free: 7.855 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.4617, allocations: 7.922 kB / 1.318 GB, free: 7.848 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.4617, allocations: 4 kB / 1.318 GB, free: 7.844 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.865e-05/0.4617, allocations: 43.92 kB / 1.318 GB, free: 7.801 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005846/0.4623, allocations: 395.8 kB / 1.318 GB, free: 7.367 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 6.778e-05/0.4624, allocations: 41.25 kB / 1.318 GB, free: 7.309 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 3.978e-05/0.4624, allocations: 25.77 kB / 1.318 GB, free: 7.277 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.4624, allocations: 0 / 1.318 GB, free: 7.277 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.4625, allocations: 34.56 kB / 1.318 GB, free: 7.234 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.4625, allocations: 0 / 1.318 GB, free: 7.234 MB / 1.014 GB
Notification: Performance of matching and sorting (n=2): time 0.0001875/0.4627, allocations: 53.53 kB / 1.318 GB, free: 7.176 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.634e-05/0.4627, allocations: 81.36 kB / 1.318 GB, free: 7.078 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.4629, allocations: 160.9 kB / 1.319 GB, free: 6.914 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.4629, allocations: 25.7 kB / 1.319 GB, free: 6.883 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 8.216e-05/0.463, allocations: 108 kB / 1.319 GB, free: 6.773 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 1.007e-05/0.463, allocations: 7.953 kB / 1.319 GB, free: 6.766 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.582e-05/0.463, allocations: 17.72 kB / 1.319 GB, free: 6.742 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.00015/0.4632, allocations: 318.8 kB / 1.319 GB, free: 6.422 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.715e-05/0.4632, allocations: 4 kB / 1.319 GB, free: 6.418 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.867e-05/0.4632, allocations: 29.64 kB / 1.319 GB, free: 6.383 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 4.28e-05/0.4633, allocations: 25.66 kB / 1.319 GB, free: 6.352 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.4633, allocations: 7.938 kB / 1.319 GB, free: 6.344 MB / 1.014 GB
Notification: Performance of matching and sorting (n=4) (initialization): time 9.075e-05/0.4634, allocations: 61.58 kB / 1.319 GB, free: 6.277 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.4634, allocations: 4 kB / 1.319 GB, free: 6.273 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.4634, allocations: 3.938 kB / 1.319 GB, free: 6.27 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.4634, allocations: 8.062 kB / 1.319 GB, free: 6.262 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.474e-05/0.4635, allocations: 4 kB / 1.319 GB, free: 6.258 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.4635, allocations: 0 / 1.319 GB, free: 6.258 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.01e-05/0.4635, allocations: 4 kB / 1.319 GB, free: 6.254 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.4635, allocations: 0 / 1.319 GB, free: 6.254 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.0001138/0.4636, allocations: 114.4 kB / 1.319 GB, free: 6.133 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.491e-05/0.4637, allocations: 11.91 kB / 1.319 GB, free: 6.121 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.045e-05/0.4637, allocations: 19.73 kB / 1.319 GB, free: 6.098 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.4637, allocations: 0 / 1.319 GB, free: 6.098 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.4637, allocations: 4 kB / 1.319 GB, free: 6.094 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-06/0.4637, allocations: 0 / 1.319 GB, free: 6.094 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000447/0.4642, allocations: 445.8 kB / 1.32 GB, free: 5.602 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.4642, allocations: 4 kB / 1.32 GB, free: 5.598 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.699e-05/0.4642, allocations: 0 / 1.32 GB, free: 5.598 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.4642, allocations: 3.938 kB / 1.32 GB, free: 5.594 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.4642, allocations: 4 kB / 1.32 GB, free: 5.59 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.4642, allocations: 64 / 1.32 GB, free: 5.59 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.4642, allocations: 4.094 kB / 1.32 GB, free: 5.586 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001123/0.4643, allocations: 81.86 kB / 1.32 GB, free: 5.484 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 3.352e-05/0.4643, allocations: 15.94 kB / 1.32 GB, free: 5.469 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.4644, allocations: 3.984 kB / 1.32 GB, free: 5.465 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.337e-05/0.4644, allocations: 4 kB / 1.32 GB, free: 5.461 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.703e-05/0.4644, allocations: 4.031 kB / 1.32 GB, free: 5.457 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.4644, allocations: 4 kB / 1.32 GB, free: 5.453 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0001163/0.4645, allocations: 121.3 kB / 1.32 GB, free: 5.336 MB / 1.014 GB
Notification: Performance of sort global known variables: time 1e-07/0.4645, allocations: 0 / 1.32 GB, free: 5.336 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0001842/0.4647, allocations: 8 kB / 1.32 GB, free: 5.328 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.0001378/0.4649, allocations: 95.19 kB / 1.32 GB, free: 5.227 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0001088/0.465, allocations: 16 kB / 1.32 GB, free: 5.211 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.465, allocations: 128 / 1.32 GB, free: 5.211 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 1.811e-05/0.465, allocations: 19.92 kB / 1.32 GB, free: 5.191 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001711/0.4652, allocations: 17.88 kB / 1.32 GB, free: 5.176 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004023/0.4656, allocations: 161.8 kB / 1.32 GB, free: 4.984 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003748/0.4659, allocations: 0.6885 MB / 1.321 GB, free: 4.27 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 3.835e-05/0.466, allocations: 16.55 kB / 1.321 GB, free: 4.254 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.078e-05/0.466, allocations: 7.438 kB / 1.321 GB, free: 4.246 MB / 1.014 GB
Notification: Performance of SimCode: time 3.4e-07/0.466, allocations: 7.938 kB / 1.321 GB, free: 4.238 MB / 1.014 GB
Notification: Performance of Templates: time 0.003122/0.4691, allocations: 475.1 kB / 1.321 GB, free: 3.777 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.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.58191891759634]