Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001324/0.001324, allocations: 79.19 kB / 19.76 MB, free: 2.031 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.001436/0.001436, allocations: 156.5 kB / 23.01 MB, free: 4.941 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.434/1.434, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.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 2.778/2.778, allocations: 377.9 MB / 0.6228 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 177] 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.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|den.d",fileNamePrefix="Buildings_12_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_12_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.002077/0.002077, allocations: 66.25 kB / 0.9819 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8798/0.8819, allocations: 176.1 MB / 1.154 GB, free: 33.29 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002131/0.884, allocations: 1.501 MB / 1.155 GB, free: 32.26 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.1387/1.023, allocations: 115.8 MB / 1.268 GB, free: 2.441 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.269e-05/1.023, allocations: 1.094 kB / 1.268 GB, free: 2.441 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 3.911e-05/1.023, allocations: 5.391 kB / 1.268 GB, free: 2.438 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 6.459e-05/1.023, allocations: 14.77 kB / 1.268 GB, free: 2.426 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003986/1.023, allocations: 61.81 kB / 1.269 GB, free: 2.398 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 9.595e-05/1.023, allocations: 59.42 kB / 1.269 GB, free: 2.371 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 9.252e-05/1.023, allocations: 14.78 kB / 1.269 GB, free: 2.363 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 5.156e-05/1.024, allocations: 20.34 kB / 1.269 GB, free: 2.355 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 5.672e-05/1.024, allocations: 23.36 kB / 1.269 GB, free: 2.344 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/1.024, allocations: 4.844 kB / 1.269 GB, free: 2.344 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/1.024, allocations: 17.73 kB / 1.269 GB, free: 2.34 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 2.376e-05/1.024, allocations: 12.64 kB / 1.269 GB, free: 2.332 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 3.43e-05/1.024, allocations: 19.16 kB / 1.269 GB, free: 2.32 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0001503/1.024, allocations: 65.62 kB / 1.269 GB, free: 2.293 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/1.024, allocations: 1.094 kB / 1.269 GB, free: 2.293 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.483e-06/1.024, allocations: 3.938 kB / 1.269 GB, free: 2.289 MB / 1.123 GB Notification: Performance of Transformations before backend: time 5.29e-06/1.024, allocations: 0 / 1.269 GB, free: 2.289 MB / 1.123 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.0005304/1.024, allocations: 300.8 kB / 1.269 GB, free: 2.004 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/1.024, allocations: 9.719 kB / 1.269 GB, free: 2.004 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.881e-05/1.025, allocations: 8.172 kB / 1.269 GB, free: 2 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/1.025, allocations: 116 kB / 1.269 GB, free: 1.867 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/1.025, allocations: 5.5 kB / 1.269 GB, free: 1.863 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/1.025, allocations: 6.969 kB / 1.269 GB, free: 1.859 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002726/1.025, allocations: 72.52 kB / 1.269 GB, free: 1.82 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/1.025, allocations: 192 / 1.269 GB, free: 1.82 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/1.025, allocations: 4.75 kB / 1.269 GB, free: 1.816 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/1.025, allocations: 0.8438 kB / 1.269 GB, free: 1.816 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000311/1.025, allocations: 81.81 kB / 1.269 GB, free: 1.793 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003383/1.026, allocations: 212.4 kB / 1.27 GB, free: 1.582 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000213/1.026, allocations: 58.69 kB / 1.27 GB, free: 1.547 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001575/1.026, allocations: 37.08 kB / 1.27 GB, free: 1.535 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001238/1.026, allocations: 16.19 kB / 1.27 GB, free: 1.531 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/1.026, allocations: 33.28 kB / 1.27 GB, free: 1.492 MB / 1.123 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/1.026, allocations: 4 kB / 1.27 GB, free: 1.488 MB / 1.123 GB Notification: Performance of matching and sorting (n=3): time 0.00057/1.027, allocations: 129 kB / 1.27 GB, free: 1.441 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/1.027, allocations: 53.33 kB / 1.27 GB, free: 1.379 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.521e-05/1.027, allocations: 116.5 kB / 1.27 GB, free: 1.27 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/1.027, allocations: 26.61 kB / 1.27 GB, free: 1.238 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 5.475e-05/1.027, allocations: 92.66 kB / 1.27 GB, free: 1.148 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 2.3e-05/1.027, allocations: 14.11 kB / 1.27 GB, free: 1.137 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.731e-05/1.027, allocations: 18.02 kB / 1.27 GB, free: 1.117 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001364/1.027, allocations: 317.4 kB / 1.27 GB, free: 0.8008 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/1.027, allocations: 31.09 kB / 1.27 GB, free: 0.7969 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/1.027, allocations: 32.03 kB / 1.27 GB, free: 0.793 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002951/1.028, allocations: 74.62 kB / 1.271 GB, free: 0.7695 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/1.028, allocations: 5.062 kB / 1.271 GB, free: 0.7656 MB / 1.123 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003326/1.028, allocations: 94.8 kB / 1.271 GB, free: 0.7266 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/1.028, allocations: 5.125 kB / 1.271 GB, free: 0.7266 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/1.028, allocations: 0 / 1.271 GB, free: 0.7266 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/1.028, allocations: 9.703 kB / 1.271 GB, free: 0.7188 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/1.028, allocations: 15.03 kB / 1.271 GB, free: 0.7188 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/1.028, allocations: 5.25 kB / 1.271 GB, free: 0.7148 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.008e-05/1.028, allocations: 10.95 kB / 1.271 GB, free: 0.7148 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/1.028, allocations: 1.594 kB / 1.271 GB, free: 0.7148 MB / 1.123 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 8.642e-05/1.028, allocations: 117.5 kB / 1.271 GB, free: 0.5938 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.74e-05/1.028, allocations: 6.672 kB / 1.271 GB, free: 0.5898 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003835/1.029, allocations: 110.3 kB / 1.271 GB, free: 0.5312 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/1.029, allocations: 0 / 1.271 GB, free: 0.5312 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/1.029, allocations: 1.031 kB / 1.271 GB, free: 0.5312 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/1.029, allocations: 0.6094 kB / 1.271 GB, free: 0.5312 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/1.029, allocations: 114.3 kB / 1.271 GB, free: 412 kB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/1.029, allocations: 0.7031 kB / 1.271 GB, free: 412 kB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.825e-05/1.029, allocations: 19.92 kB / 1.271 GB, free: 408 kB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/1.029, allocations: 0 / 1.271 GB, free: 408 kB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/1.029, allocations: 6.031 kB / 1.271 GB, free: 404 kB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/1.029, allocations: 3.938 kB / 1.271 GB, free: 400 kB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/1.029, allocations: 0 / 1.271 GB, free: 400 kB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004798/1.03, allocations: 195.8 kB / 1.271 GB, free: 252 kB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 8.826e-06/1.03, allocations: 2.812 kB / 1.271 GB, free: 252 kB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/1.03, allocations: 1.188 kB / 1.271 GB, free: 252 kB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/1.03, allocations: 15.25 kB / 1.271 GB, free: 248 kB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.095e-05/1.03, allocations: 9.094 kB / 1.271 GB, free: 244 kB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/1.03, allocations: 4.75 kB / 1.271 GB, free: 240 kB / 1.123 GB Notification: Performance of sorting global known variables: time 6.056e-05/1.03, allocations: 93.81 kB / 1.271 GB, free: 156 kB / 1.123 GB Notification: Performance of sort global known variables: time 8e-08/1.03, allocations: 0 / 1.271 GB, free: 156 kB / 1.123 GB Notification: Performance of remove unused functions: time 0.0002584/1.03, allocations: 16.59 kB / 1.271 GB, free: 152 kB / 1.123 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.0001428/1.03, allocations: 106.7 kB / 1.271 GB, free: 64 kB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0003653/1.031, allocations: 78.53 kB / 1.272 GB, free: 44 kB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/1.031, allocations: 0.8438 kB / 1.272 GB, free: 44 kB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0001551/1.031, allocations: 35 kB / 1.272 GB, free: 40 kB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/1.031, allocations: 13.34 kB / 1.272 GB, free: 32 kB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003651/1.031, allocations: 156.8 kB / 1.272 GB, free: 15.89 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.108e-05/1.031, allocations: 74.66 kB / 1.272 GB, free: 15.82 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 3.023e-05/1.032, allocations: 6.188 kB / 1.272 GB, free: 15.81 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.762e-05/1.032, allocations: 11.78 kB / 1.272 GB, free: 15.8 MB / 1.139 GB Notification: Performance of SimCode: time 3.31e-07/1.032, allocations: 0 / 1.272 GB, free: 15.8 MB / 1.139 GB Notification: Performance of Templates: time 0.003986/1.036, allocations: 0.9998 MB / 1.273 GB, free: 15.66 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.70413708104752]