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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001947/0.001947, allocations: 83.69 kB / 20.23 MB, free: 4.188 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002054/0.002054, allocations: 157.3 kB / 23.55 MB, free: 0.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.574/1.574, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.036/3.036, allocations: 377.8 MB / 0.6232 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.203e-06/1.203e-06, allocations: 0 / 0.8108 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.656e-05/2.776e-05, allocations: 7.312 kB / 0.8108 GB, free: 2.113 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.001977/0.002005, allocations: 0.8193 MB / 0.8116 GB, free: 1.32 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001275/0.002132, allocations: 43.78 kB / 0.8117 GB, free: 1.277 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.103e-05/0.002183, allocations: 0 / 0.8117 GB, free: 1.277 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.801e-05/0.002221, allocations: 9.562 kB / 0.8117 GB, free: 1.27 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.766e-05/0.002309, allocations: 7.938 kB / 0.8117 GB, free: 1.262 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 5.087e-05/0.00236, allocations: 11.98 kB / 0.8117 GB, free: 1.25 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.002489, allocations: 71.77 kB / 0.8118 GB, free: 1.18 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.00262, allocations: 31.91 kB / 0.8118 GB, free: 1.148 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 9.943e-05/0.002719, allocations: 37.25 kB / 0.8118 GB, free: 1.113 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.489e-05/0.002764, allocations: 15.92 kB / 0.8118 GB, free: 1.098 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.523e-05/0.002789, allocations: 11.98 kB / 0.8119 GB, free: 1.086 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 9.969e-06/0.002799, allocations: 5.594 kB / 0.8119 GB, free: 1.082 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.681e-05/0.002826, allocations: 19.92 kB / 0.8119 GB, free: 1.062 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.035e-05/0.002856, allocations: 11.94 kB / 0.8119 GB, free: 1.051 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.000128/0.002984, allocations: 75.69 kB / 0.812 GB, free: 0.9766 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.002987, allocations: 0.7188 kB / 0.812 GB, free: 0.9766 MB / 0.7605 GB Notification: Performance of FrontEnd: time 6.31e-07/0.002988, allocations: 0 / 0.812 GB, free: 0.9766 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.002992, allocations: 0.5312 kB / 0.812 GB, free: 0.9766 MB / 0.7605 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.0005424/0.003534, allocations: 417.6 kB / 0.8124 GB, free: 0.5312 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.003568, allocations: 11.97 kB / 0.8124 GB, free: 0.5195 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.788e-05/0.003616, allocations: 16.89 kB / 0.8124 GB, free: 0.5039 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002124/0.003829, allocations: 140.4 kB / 0.8125 GB, free: 348 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.003844, allocations: 5.031 kB / 0.8125 GB, free: 344 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.003859, allocations: 8.375 kB / 0.8125 GB, free: 336 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.004034, allocations: 102.7 kB / 0.8126 GB, free: 220 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.004043, allocations: 192 / 0.8126 GB, free: 220 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.004053, allocations: 384 / 0.8126 GB, free: 220 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.004059, allocations: 5.531 kB / 0.8126 GB, free: 216 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.945e-05/0.004159, allocations: 43.8 kB / 0.8127 GB, free: 172 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006041/0.004763, allocations: 467.7 kB / 0.8131 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.891e-05/0.004852, allocations: 62.31 kB / 0.8132 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.551e-05/0.004897, allocations: 29.17 kB / 0.8132 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.00491, allocations: 4 kB / 0.8132 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.004939, allocations: 33.39 kB / 0.8132 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.00494, allocations: 0 / 0.8132 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.00019/0.00513, allocations: 51.38 kB / 0.8133 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.086e-05/0.00519, allocations: 81.11 kB / 0.8134 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.005362, allocations: 193.8 kB / 0.8136 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.00538, allocations: 25.7 kB / 0.8136 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.005488, allocations: 163.5 kB / 0.8137 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.026e-05/0.005498, allocations: 7.938 kB / 0.8137 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.493e-05/0.005543, allocations: 29.62 kB / 0.8138 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002408/0.005784, allocations: 0.4884 MB / 0.8143 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.427e-05/0.005798, allocations: 0 / 0.8143 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.423e-05/0.005833, allocations: 31.36 kB / 0.8143 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.925e-05/0.005882, allocations: 27.38 kB / 0.8143 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.005883, allocations: 2.031 kB / 0.8143 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001024/0.005986, allocations: 61.62 kB / 0.8144 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.005998, allocations: 4 kB / 0.8144 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.006002, allocations: 0 / 0.8144 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.006015, allocations: 0.5 kB / 0.8144 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.74e-05/0.006072, allocations: 8.5 kB / 0.8144 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.006079, allocations: 7.875 kB / 0.8144 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.886e-05/0.006108, allocations: 9.797 kB / 0.8144 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.006116, allocations: 4 kB / 0.8144 GB, free: 14.23 MB / 0.7761 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.0001118/0.006227, allocations: 160.6 kB / 0.8146 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.502e-05/0.006262, allocations: 3.938 kB / 0.8146 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.229e-05/0.006305, allocations: 17.86 kB / 0.8146 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.006306, allocations: 0 / 0.8146 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.006309, allocations: 0 / 0.8146 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.006316, allocations: 7.938 kB / 0.8146 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004957/0.006812, allocations: 0.5577 MB / 0.8151 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.006815, allocations: 4 kB / 0.8151 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.75e-05/0.006833, allocations: 1.156 kB / 0.8151 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.006838, allocations: 4 kB / 0.8151 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.006845, allocations: 3.938 kB / 0.8151 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.006849, allocations: 4.562 kB / 0.8151 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.006849, allocations: 0.7812 kB / 0.8151 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001165/0.006966, allocations: 84.12 kB / 0.8152 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.479e-05/0.006991, allocations: 12.89 kB / 0.8152 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.007004, allocations: 3.938 kB / 0.8152 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.161e-05/0.007026, allocations: 11.55 kB / 0.8153 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.669e-05/0.007043, allocations: 3.938 kB / 0.8153 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-06/0.007044, allocations: 0 / 0.8153 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001043/0.007149, allocations: 151.2 kB / 0.8154 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.007149, allocations: 0 / 0.8154 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001808/0.007329, allocations: 11.95 kB / 0.8154 GB, free: 13.12 MB / 0.7761 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.0001159/0.007445, allocations: 91.25 kB / 0.8155 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.242e-05/0.007538, allocations: 25.78 kB / 0.8155 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.007539, allocations: 0 / 0.8155 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.226e-05/0.007561, allocations: 15.62 kB / 0.8155 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001417/0.007703, allocations: 14.8 kB / 0.8156 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003488/0.008052, allocations: 171.6 kB / 0.8157 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.944e-05/0.008131, allocations: 80.31 kB / 0.8158 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.938e-05/0.008161, allocations: 9.016 kB / 0.8158 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.776e-05/0.008189, allocations: 8.5 kB / 0.8158 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of SimCode: time 4.41e-07/0.008189, allocations: 0 / 0.8158 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of Templates: time 0.002947/0.01114, allocations: 343.6 kB / 0.8161 GB, free: 12.32 MB / 0.7761 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) [Timeout 240] 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: 8.143119091982953]