Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_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.001517/0.001517, allocations: 104 kB / 16.45 MB, free: 6.449 MB / 14.72 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.00152/0.00152, allocations: 210.4 kB / 19.43 MB, free: 3.637 MB / 14.72 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.588/1.588, allocations: 230.6 MB / 252.8 MB, free: 9.121 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.471/3.471, allocations: 0.4899 GB / 0.7915 GB, free: 33.45 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.From_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002195/0.002195, allocations: 67.81 kB / 1.149 GB, free: 26.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4614/0.4635, allocations: 176.1 MB / 1.321 GB, free: 2.965 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.002394/0.4659, allocations: 0.8286 MB / 1.322 GB, free: 2.137 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001346/0.4661, allocations: 39.78 kB / 1.322 GB, free: 2.098 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.291e-05/0.4661, allocations: 4 kB / 1.322 GB, free: 2.094 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.643e-05/0.4662, allocations: 7.875 kB / 1.322 GB, free: 2.086 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.4663, allocations: 11.92 kB / 1.322 GB, free: 2.074 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.27e-05/0.4664, allocations: 15.98 kB / 1.322 GB, free: 2.059 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001676/0.4665, allocations: 63.78 kB / 1.322 GB, free: 1.996 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001987/0.4667, allocations: 43.84 kB / 1.322 GB, free: 1.953 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.004e-05/0.4668, allocations: 27.86 kB / 1.322 GB, free: 1.926 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.236e-05/0.4669, allocations: 23.86 kB / 1.322 GB, free: 1.902 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.252e-05/0.4669, allocations: 8 kB / 1.322 GB, free: 1.895 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.27e-05/0.4669, allocations: 4 kB / 1.322 GB, free: 1.891 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.243e-05/0.4669, allocations: 15.92 kB / 1.322 GB, free: 1.875 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.399e-05/0.467, allocations: 39.73 kB / 1.322 GB, free: 1.836 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001853/0.4672, allocations: 83.52 kB / 1.322 GB, free: 1.754 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.4672, allocations: 0 / 1.322 GB, free: 1.754 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.043e-06/0.4672, allocations: 0 / 1.322 GB, free: 1.754 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.4672, allocations: 0 / 1.322 GB, free: 1.754 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.0006345/0.4678, allocations: 383.1 kB / 1.323 GB, free: 1.328 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.659e-05/0.4679, allocations: 15.97 kB / 1.323 GB, free: 1.312 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.378e-05/0.4679, allocations: 8.891 kB / 1.323 GB, free: 1.305 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002567/0.4682, allocations: 192.2 kB / 1.323 GB, free: 1.078 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.4682, allocations: 12.38 kB / 1.323 GB, free: 1.066 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.4682, allocations: 4.375 kB / 1.323 GB, free: 1.062 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.4684, allocations: 91.86 kB / 1.323 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.4684, allocations: 192 / 1.323 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.4684, allocations: 11.92 kB / 1.323 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.4684, allocations: 0 / 1.323 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.357e-05/0.4685, allocations: 43.91 kB / 1.323 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006601/0.4692, allocations: 436.6 kB / 1.324 GB, free: 436 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 7.955e-05/0.4693, allocations: 41.28 kB / 1.324 GB, free: 376 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.738e-05/0.4693, allocations: 17.84 kB / 1.324 GB, free: 352 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.156e-05/0.4693, allocations: 8 kB / 1.324 GB, free: 344 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.4694, allocations: 34.55 kB / 1.324 GB, free: 300 kB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.4694, allocations: 0 / 1.324 GB, free: 300 kB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0001946/0.4695, allocations: 57.48 kB / 1.324 GB, free: 236 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.412e-05/0.4696, allocations: 81.11 kB / 1.324 GB, free: 136 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001971/0.4698, allocations: 158.4 kB / 1.324 GB, free: 15.97 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.4699, allocations: 29.7 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.38e-05/0.4699, allocations: 104.3 kB / 1.324 GB, free: 15.83 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.152e-05/0.47, allocations: 15.83 kB / 1.324 GB, free: 15.81 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.408e-05/0.47, allocations: 13.72 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.4701, allocations: 318.8 kB / 1.324 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.414e-05/0.4702, allocations: 15.94 kB / 1.324 GB, free: 15.46 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.184e-05/0.4702, allocations: 13.72 kB / 1.324 GB, free: 15.44 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.435e-05/0.4702, allocations: 37.7 kB / 1.324 GB, free: 15.39 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.4702, allocations: 3.938 kB / 1.324 GB, free: 15.39 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.633e-05/0.4703, allocations: 53.59 kB / 1.325 GB, free: 15.33 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.4704, allocations: 6.031 kB / 1.325 GB, free: 15.33 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.4704, allocations: 7.938 kB / 1.325 GB, free: 15.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.4704, allocations: 0 / 1.325 GB, free: 15.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.458e-05/0.4704, allocations: 7.984 kB / 1.325 GB, free: 15.31 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.4704, allocations: 0 / 1.325 GB, free: 15.31 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.288e-05/0.4705, allocations: 7.953 kB / 1.325 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-06/0.4705, allocations: 4.062 kB / 1.325 GB, free: 15.3 MB / 1.029 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.0001002/0.4706, allocations: 113.8 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.387e-05/0.4706, allocations: 7.953 kB / 1.325 GB, free: 15.17 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.878e-05/0.4707, allocations: 19.8 kB / 1.325 GB, free: 15.15 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.4707, allocations: 0 / 1.325 GB, free: 15.15 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.4707, allocations: 0 / 1.325 GB, free: 15.15 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.4707, allocations: 4 kB / 1.325 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004381/0.4711, allocations: 470.8 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.241e-06/0.4711, allocations: 4 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2e-05/0.4711, allocations: 3.938 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.4711, allocations: 4 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.4711, allocations: 0 / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.4711, allocations: 0 / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.4711, allocations: 0 / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.509e-05/0.4712, allocations: 85.89 kB / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.323e-05/0.4713, allocations: 89.06 kB / 1.325 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.4713, allocations: 0 / 1.325 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.614e-05/0.4713, allocations: 7.984 kB / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.347e-05/0.4714, allocations: 0 / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-06/0.4714, allocations: 0 / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.51e-05/0.4715, allocations: 119.2 kB / 1.325 GB, free: 14.27 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4715, allocations: 3.938 kB / 1.325 GB, free: 14.27 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000187/0.4716, allocations: 19.91 kB / 1.325 GB, free: 14.25 MB / 1.029 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.0001358/0.4718, allocations: 95.25 kB / 1.326 GB, free: 14.15 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001033/0.4719, allocations: 16 kB / 1.326 GB, free: 14.13 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.4719, allocations: 0 / 1.326 GB, free: 14.13 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.517e-05/0.4719, allocations: 11.94 kB / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001626/0.4721, allocations: 11.94 kB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003532/0.4724, allocations: 159 kB / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.4727, allocations: 0.6924 MB / 1.326 GB, free: 13.2 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.499e-05/0.4727, allocations: 8.422 kB / 1.326 GB, free: 13.19 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.588e-05/0.4728, allocations: 11.44 kB / 1.326 GB, free: 13.18 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.4728, allocations: 0 / 1.326 GB, free: 13.18 MB / 1.029 GB Notification: Performance of Templates: time 0.002953/0.4757, allocations: 472.5 kB / 1.327 GB, free: 12.72 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_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.627095418050885]