Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.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.001969/0.001969, allocations: 107.6 kB / 18.95 MB, free: 2.828 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.002572/0.002572, allocations: 219.1 kB / 22.25 MB, free: 5.105 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.575/1.575, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.897/2.897, allocations: 475.9 MB / 0.7699 GB, free: 4.746 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|den.d",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|den.d",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") [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.002126/0.002126, allocations: 69.84 kB / 1.117 GB, free: 41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.2948, allocations: 169.9 MB / 1.283 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002951/0.2977, allocations: 1.512 MB / 1.284 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1547/0.4524, allocations: 115.8 MB / 1.398 GB, free: 6.164 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.867e-05/0.4525, allocations: 0 / 1.398 GB, free: 6.164 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 4.558e-05/0.4525, allocations: 7.922 kB / 1.398 GB, free: 6.156 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 6.446e-05/0.4526, allocations: 7.875 kB / 1.398 GB, free: 6.148 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003891/0.453, allocations: 71.66 kB / 1.398 GB, free: 6.078 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0001164/0.4531, allocations: 55.72 kB / 1.398 GB, free: 6.023 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 8.833e-05/0.4532, allocations: 8 kB / 1.398 GB, free: 6.016 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 5.93e-05/0.4532, allocations: 23.92 kB / 1.398 GB, free: 5.992 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 5.709e-05/0.4533, allocations: 27.91 kB / 1.398 GB, free: 5.965 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.4533, allocations: 7.938 kB / 1.398 GB, free: 5.957 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.4534, allocations: 16 kB / 1.398 GB, free: 5.941 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 2.171e-05/0.4534, allocations: 11.92 kB / 1.398 GB, free: 5.93 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 4.459e-05/0.4535, allocations: 23.92 kB / 1.398 GB, free: 5.906 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0001676/0.4536, allocations: 63.69 kB / 1.398 GB, free: 5.844 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.4536, allocations: 0 / 1.398 GB, free: 5.844 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.302e-06/0.4536, allocations: 0 / 1.398 GB, free: 5.844 MB / 1.092 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.4536, allocations: 0 / 1.398 GB, free: 5.844 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005711/0.4542, allocations: 302.1 kB / 1.398 GB, free: 5.516 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.4543, allocations: 8.031 kB / 1.398 GB, free: 5.508 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.135e-05/0.4543, allocations: 8.891 kB / 1.398 GB, free: 5.5 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.4544, allocations: 110.5 kB / 1.398 GB, free: 5.367 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.4544, allocations: 384 / 1.398 GB, free: 5.367 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.4544, allocations: 4.375 kB / 1.398 GB, free: 5.363 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002796/0.4547, allocations: 82.19 kB / 1.398 GB, free: 5.277 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.4547, allocations: 8.109 kB / 1.398 GB, free: 5.27 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.4547, allocations: 7.938 kB / 1.398 GB, free: 5.262 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.4548, allocations: 0 / 1.398 GB, free: 5.262 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003109/0.4551, allocations: 71.92 kB / 1.398 GB, free: 5.191 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000384/0.4554, allocations: 216.5 kB / 1.399 GB, free: 4.949 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002264/0.4557, allocations: 58.42 kB / 1.399 GB, free: 4.883 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001571/0.4558, allocations: 44.91 kB / 1.399 GB, free: 4.836 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000171/0.456, allocations: 11.98 kB / 1.399 GB, free: 4.824 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.456, allocations: 34.56 kB / 1.399 GB, free: 4.781 MB / 1.092 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.456, allocations: 0 / 1.399 GB, free: 4.781 MB / 1.092 GB Notification: Performance of matching and sorting (n=3): time 0.0005826/0.4566, allocations: 129.5 kB / 1.399 GB, free: 4.648 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.4567, allocations: 55.39 kB / 1.399 GB, free: 4.582 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.4568, allocations: 117.8 kB / 1.399 GB, free: 4.457 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.4568, allocations: 26.08 kB / 1.399 GB, free: 4.426 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 5.968e-05/0.4569, allocations: 88.14 kB / 1.399 GB, free: 4.336 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 2.089e-05/0.4569, allocations: 11.84 kB / 1.399 GB, free: 4.324 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.355e-05/0.4569, allocations: 17.72 kB / 1.399 GB, free: 4.301 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.4571, allocations: 318.8 kB / 1.4 GB, free: 3.98 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001676/0.4573, allocations: 35.97 kB / 1.4 GB, free: 3.945 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/0.4574, allocations: 31.95 kB / 1.4 GB, free: 3.914 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002851/0.4577, allocations: 68.78 kB / 1.4 GB, free: 3.844 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.4577, allocations: 3.938 kB / 1.4 GB, free: 3.84 MB / 1.092 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003393/0.458, allocations: 97.62 kB / 1.4 GB, free: 3.738 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.458, allocations: 4 kB / 1.4 GB, free: 3.734 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.4581, allocations: 4 kB / 1.4 GB, free: 3.73 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.4581, allocations: 3.938 kB / 1.4 GB, free: 3.727 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.4582, allocations: 11.98 kB / 1.4 GB, free: 3.715 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.4582, allocations: 0 / 1.4 GB, free: 3.715 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.611e-05/0.4583, allocations: 15.97 kB / 1.4 GB, free: 3.699 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.4583, allocations: 8 kB / 1.4 GB, free: 3.691 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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 9.074e-05/0.4584, allocations: 113.8 kB / 1.4 GB, free: 3.57 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.994e-05/0.4584, allocations: 7.953 kB / 1.4 GB, free: 3.562 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000392/0.4588, allocations: 105.6 kB / 1.4 GB, free: 3.449 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.4588, allocations: 0 / 1.4 GB, free: 3.449 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.4588, allocations: 0 / 1.4 GB, free: 3.449 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.4588, allocations: 384 / 1.4 GB, free: 3.449 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.459, allocations: 117.2 kB / 1.4 GB, free: 3.305 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.459, allocations: 0 / 1.4 GB, free: 3.305 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.4591, allocations: 27.91 kB / 1.4 GB, free: 3.277 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.4591, allocations: 0 / 1.4 GB, free: 3.277 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.4591, allocations: 0 / 1.4 GB, free: 3.277 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.4591, allocations: 0 / 1.4 GB, free: 3.277 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4591, allocations: 0 / 1.4 GB, free: 3.277 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000408/0.4595, allocations: 203.4 kB / 1.4 GB, free: 3.062 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 1.099e-05/0.4595, allocations: 3.938 kB / 1.4 GB, free: 3.059 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.4595, allocations: 11.98 kB / 1.4 GB, free: 3.047 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.4597, allocations: 11.98 kB / 1.4 GB, free: 3.035 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.117e-05/0.4597, allocations: 4 kB / 1.4 GB, free: 3.031 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.4597, allocations: 0 / 1.4 GB, free: 3.031 MB / 1.092 GB Notification: Performance of sorting global known variables: time 6.812e-05/0.4598, allocations: 91.27 kB / 1.4 GB, free: 2.941 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4598, allocations: 288 / 1.4 GB, free: 2.941 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0002479/0.46, allocations: 15.94 kB / 1.4 GB, free: 2.926 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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.0001646/0.4602, allocations: 115.1 kB / 1.401 GB, free: 2.805 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0003636/0.4606, allocations: 71.86 kB / 1.401 GB, free: 2.734 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4606, allocations: 0 / 1.401 GB, free: 2.734 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0001632/0.4607, allocations: 39.95 kB / 1.401 GB, free: 2.695 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.461, allocations: 11.94 kB / 1.401 GB, free: 2.684 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003788/0.4614, allocations: 156.2 kB / 1.401 GB, free: 2.504 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.817e-05/0.4615, allocations: 63.34 kB / 1.401 GB, free: 2.422 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 3.544e-05/0.4615, allocations: 4 kB / 1.401 GB, free: 2.418 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.813e-05/0.4615, allocations: 7.438 kB / 1.401 GB, free: 2.41 MB / 1.092 GB Notification: Performance of SimCode: time 4.6e-07/0.4615, allocations: 4 kB / 1.401 GB, free: 2.406 MB / 1.092 GB Notification: Performance of Templates: time 0.003868/0.4654, allocations: 1.021 MB / 1.402 GB, free: 1.406 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.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.22352796047926]