Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.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.001427/0.001427, 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.00176/0.00176, allocations: 189.8 kB / 22.23 MB, free: 5.16 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.511/1.511, allocations: 225.6 MB / 251 MB, free: 13.01 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.441/3.441, allocations: 496 MB / 0.7835 GB, free: 33.51 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_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi")
translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 65.98 kB / 1.138 GB, free: 33.82 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4569/0.4589, allocations: 173.6 MB / 1.307 GB, free: 1.781 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.00284/0.4618, allocations: 0.8445 MB / 1.308 GB, free: 0.9375 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.0001485/0.4619, allocations: 43.78 kB / 1.308 GB, free: 0.8945 MB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 7.592e-05/0.462, allocations: 0 / 1.308 GB, free: 0.8945 MB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 4.304e-05/0.4621, allocations: 11.88 kB / 1.308 GB, free: 0.8828 MB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001075/0.4622, allocations: 15.86 kB / 1.308 GB, free: 0.8672 MB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 5.783e-05/0.4622, allocations: 15.98 kB / 1.308 GB, free: 0.8516 MB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 0.0001465/0.4624, allocations: 59.84 kB / 1.308 GB, free: 0.793 MB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001723/0.4625, allocations: 27.98 kB / 1.308 GB, free: 0.7656 MB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 9.159e-05/0.4626, allocations: 35.78 kB / 1.308 GB, free: 0.7305 MB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.94e-05/0.4627, allocations: 23.86 kB / 1.308 GB, free: 0.707 MB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.4627, allocations: 8 kB / 1.308 GB, free: 0.6992 MB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.473e-05/0.4627, allocations: 4 kB / 1.308 GB, free: 0.6953 MB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 3.026e-05/0.4628, allocations: 19.92 kB / 1.308 GB, free: 0.6758 MB / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 4.985e-05/0.4628, allocations: 39.8 kB / 1.308 GB, free: 0.6367 MB / 0.9981 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001459/0.463, allocations: 75.52 kB / 1.308 GB, free: 0.5625 MB / 0.9981 GB
Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.463, allocations: 0 / 1.308 GB, free: 0.5625 MB / 0.9981 GB
Notification: Performance of FrontEnd: time 3.026e-06/0.463, allocations: 0 / 1.308 GB, free: 0.5625 MB / 0.9981 GB
Notification: Performance of Transformations before backend: time 6.322e-06/0.463, allocations: 0 / 1.308 GB, free: 0.5625 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.0005062/0.4635, allocations: 306 kB / 1.309 GB, free: 236 kB / 0.9981 GB
Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.4635, allocations: 12.92 kB / 1.309 GB, free: 224 kB / 0.9981 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.033e-05/0.4636, allocations: 16.78 kB / 1.309 GB, free: 208 kB / 0.9981 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.4638, allocations: 126.4 kB / 1.309 GB, free: 56 kB / 0.9981 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.4638, allocations: 8.375 kB / 1.309 GB, free: 48 kB / 0.9981 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.4638, allocations: 8.375 kB / 1.309 GB, free: 40 kB / 0.9981 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000224/0.464, allocations: 95.89 kB / 1.309 GB, free: 15.93 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.4641, allocations: 192 / 1.309 GB, free: 15.93 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.4641, allocations: 3.938 kB / 1.309 GB, free: 15.93 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.4641, allocations: 4 kB / 1.309 GB, free: 15.93 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 9.143e-05/0.4642, allocations: 39.92 kB / 1.309 GB, free: 15.89 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006252/0.4648, allocations: 403.8 kB / 1.309 GB, free: 15.45 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 6.764e-05/0.4649, allocations: 41.19 kB / 1.309 GB, free: 15.39 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 3.63e-05/0.4649, allocations: 13.84 kB / 1.31 GB, free: 15.37 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.136e-05/0.4649, allocations: 8 kB / 1.31 GB, free: 15.36 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.4649, allocations: 34.56 kB / 1.31 GB, free: 15.32 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.4649, allocations: 0 / 1.31 GB, free: 15.32 MB / 1.014 GB
Notification: Performance of matching and sorting (n=2): time 0.0001993/0.4651, allocations: 57.52 kB / 1.31 GB, free: 15.25 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.256e-05/0.4652, allocations: 85.05 kB / 1.31 GB, free: 15.15 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002014/0.4654, allocations: 162.1 kB / 1.31 GB, free: 14.99 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.4654, allocations: 29.7 kB / 1.31 GB, free: 14.95 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.4655, allocations: 112.2 kB / 1.31 GB, free: 14.84 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 7.554e-06/0.4655, allocations: 0 / 1.31 GB, free: 14.84 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-05/0.4656, allocations: 21.67 kB / 1.31 GB, free: 14.81 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0002017/0.4658, allocations: 318.8 kB / 1.31 GB, free: 14.49 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.877e-05/0.4658, allocations: 4 kB / 1.31 GB, free: 14.49 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.694e-05/0.4658, allocations: 17.72 kB / 1.31 GB, free: 14.46 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 5.453e-05/0.4659, allocations: 37.64 kB / 1.31 GB, free: 14.42 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4659, allocations: 0 / 1.31 GB, free: 14.42 MB / 1.014 GB
Notification: Performance of matching and sorting (n=4) (initialization): time 9.058e-05/0.466, allocations: 57.59 kB / 1.31 GB, free: 14.36 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.466, allocations: 6.344 kB / 1.31 GB, free: 14.36 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.466, allocations: 11.94 kB / 1.31 GB, free: 14.34 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.466, allocations: 0 / 1.31 GB, free: 14.34 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.096e-05/0.4661, allocations: 7.984 kB / 1.31 GB, free: 14.34 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.4661, allocations: 3.938 kB / 1.31 GB, free: 14.33 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.757e-05/0.4661, allocations: 4 kB / 1.31 GB, free: 14.33 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.4661, allocations: 4.156 kB / 1.31 GB, free: 14.32 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.0001033/0.4662, allocations: 118.6 kB / 1.311 GB, free: 14.2 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.691e-05/0.4663, allocations: 15.89 kB / 1.311 GB, free: 14.18 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.984e-05/0.4663, allocations: 15.75 kB / 1.311 GB, free: 14.17 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.4663, allocations: 0 / 1.311 GB, free: 14.17 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.4663, allocations: 0 / 1.311 GB, free: 14.17 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.4663, allocations: 7.984 kB / 1.311 GB, free: 14.16 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004299/0.4668, allocations: 445.8 kB / 1.311 GB, free: 13.67 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.4668, allocations: 0 / 1.311 GB, free: 13.67 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.784e-05/0.4668, allocations: 4 kB / 1.311 GB, free: 13.66 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.4668, allocations: 4 kB / 1.311 GB, free: 13.66 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.4668, allocations: 0 / 1.311 GB, free: 13.66 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4668, allocations: 0 / 1.311 GB, free: 13.66 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4668, allocations: 0 / 1.311 GB, free: 13.66 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001026/0.4669, allocations: 85.88 kB / 1.311 GB, free: 13.55 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.408e-05/0.4669, allocations: 7.953 kB / 1.311 GB, free: 13.55 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/0.4669, allocations: 8 kB / 1.311 GB, free: 13.54 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.907e-05/0.467, allocations: 0 / 1.311 GB, free: 13.54 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.213e-05/0.467, allocations: 0 / 1.311 GB, free: 13.54 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-06/0.467, allocations: 0 / 1.311 GB, free: 13.54 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0001026/0.4671, allocations: 119.2 kB / 1.311 GB, free: 13.42 MB / 1.014 GB
Notification: Performance of sort global known variables: time 6e-08/0.4671, allocations: 0 / 1.311 GB, free: 13.42 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0001819/0.4673, allocations: 8.031 kB / 1.311 GB, free: 13.41 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.0001372/0.4674, allocations: 103.2 kB / 1.311 GB, free: 13.3 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 9.743e-05/0.4675, allocations: 19.88 kB / 1.311 GB, free: 13.29 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.4675, allocations: 0 / 1.311 GB, free: 13.29 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 1.264e-05/0.4675, allocations: 8 kB / 1.311 GB, free: 13.28 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001632/0.4677, allocations: 7.938 kB / 1.311 GB, free: 13.27 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003662/0.468, allocations: 166.8 kB / 1.312 GB, free: 13.07 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/0.4684, allocations: 0.6963 MB / 1.312 GB, free: 12.35 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 4.01e-05/0.4685, allocations: 8.422 kB / 1.312 GB, free: 12.34 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.674e-05/0.4685, allocations: 11.44 kB / 1.312 GB, free: 12.33 MB / 1.014 GB
Notification: Performance of SimCode: time 2.91e-07/0.4685, allocations: 0 / 1.312 GB, free: 12.33 MB / 1.014 GB
Notification: Performance of Templates: time 0.002993/0.4715, allocations: 488.5 kB / 1.313 GB, free: 11.85 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.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.735766547732055]