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.001549/0.001549, allocations: 78.64 kB / 19.76 MB, free: 1.875 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.001717/0.001717, allocations: 159.7 kB / 23.01 MB, free: 4.594 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.394/1.394, allocations: 177.2 MB / 203.4 MB, free: 8.98 MB / 190.1 MB " [Timeout remaining time 179] 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.575/2.575, allocations: 359.1 MB / 0.6044 GB, free: 14.86 MB / 0.5762 GB " [Timeout remaining time 177] 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.002207/0.002207, allocations: 63.91 kB / 0.9515 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.292, allocations: 169.9 MB / 1.117 GB, free: 2.566 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002884/0.2949, allocations: 1.497 MB / 1.119 GB, free: 1.059 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.6498/0.9447, allocations: 115.8 MB / 1.232 GB, free: 0.5117 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.242e-05/0.9448, allocations: 0 / 1.232 GB, free: 0.5117 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 5.086e-05/0.9449, allocations: 6.625 kB / 1.232 GB, free: 0.5078 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 7.412e-05/0.9449, allocations: 6.219 kB / 1.232 GB, free: 0.5039 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005054/0.9454, allocations: 65.12 kB / 1.232 GB, free: 484 kB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0001388/0.9456, allocations: 60.05 kB / 1.232 GB, free: 452 kB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.9457, allocations: 11.08 kB / 1.232 GB, free: 448 kB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 6.177e-05/0.9458, allocations: 19.53 kB / 1.232 GB, free: 440 kB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 6.444e-05/0.9458, allocations: 21.19 kB / 1.232 GB, free: 432 kB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.9459, allocations: 4.156 kB / 1.232 GB, free: 432 kB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.946, allocations: 24.95 kB / 1.232 GB, free: 420 kB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 2.449e-05/0.946, allocations: 8.125 kB / 1.232 GB, free: 416 kB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 4.383e-05/0.9461, allocations: 20.75 kB / 1.232 GB, free: 404 kB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0001884/0.9462, allocations: 56.83 kB / 1.232 GB, free: 384 kB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.9462, allocations: 0 / 1.232 GB, free: 384 kB / 1.092 GB Notification: Performance of FrontEnd: time 2.505e-06/0.9462, allocations: 5.25 kB / 1.232 GB, free: 380 kB / 1.092 GB Notification: Performance of Transformations before backend: time 1.189e-05/0.9463, allocations: 0 / 1.232 GB, free: 380 kB / 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.0006694/0.9469, allocations: 305.7 kB / 1.233 GB, free: 88 kB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.947, allocations: 11.69 kB / 1.233 GB, free: 88 kB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.481e-05/0.947, allocations: 10.64 kB / 1.233 GB, free: 84 kB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.9471, allocations: 119.7 kB / 1.233 GB, free: 15.95 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.9471, allocations: 1.469 kB / 1.233 GB, free: 15.95 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.9472, allocations: 7.438 kB / 1.233 GB, free: 15.94 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002686/0.9474, allocations: 75.33 kB / 1.233 GB, free: 15.9 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.445e-06/0.9474, allocations: 1.844 kB / 1.233 GB, free: 15.9 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.9474, allocations: 3.938 kB / 1.233 GB, free: 15.89 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.9475, allocations: 0.7188 kB / 1.233 GB, free: 15.89 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003284/0.9478, allocations: 69.48 kB / 1.233 GB, free: 15.88 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003465/0.9481, allocations: 221.9 kB / 1.233 GB, free: 15.66 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002289/0.9484, allocations: 58.31 kB / 1.233 GB, free: 15.63 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/0.9485, allocations: 41.02 kB / 1.233 GB, free: 15.61 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001288/0.9486, allocations: 12.72 kB / 1.233 GB, free: 15.61 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.9487, allocations: 31.59 kB / 1.233 GB, free: 15.57 MB / 1.107 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.9487, allocations: 1 kB / 1.233 GB, free: 15.57 MB / 1.107 GB Notification: Performance of matching and sorting (n=3): time 0.0005763/0.9493, allocations: 137.8 kB / 1.233 GB, free: 15.52 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.9493, allocations: 51.41 kB / 1.233 GB, free: 15.46 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.9494, allocations: 111.3 kB / 1.233 GB, free: 15.36 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.9494, allocations: 29.7 kB / 1.234 GB, free: 15.32 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 5.537e-05/0.9495, allocations: 88.69 kB / 1.234 GB, free: 15.23 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 2.075e-05/0.9495, allocations: 13.8 kB / 1.234 GB, free: 15.22 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.652e-05/0.9495, allocations: 13.94 kB / 1.234 GB, free: 15.21 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.9497, allocations: 322 kB / 1.234 GB, free: 14.89 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/0.9498, allocations: 32 kB / 1.234 GB, free: 14.88 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.95, allocations: 32.33 kB / 1.234 GB, free: 14.88 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000287/0.9503, allocations: 69.64 kB / 1.234 GB, free: 14.86 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.9503, allocations: 7.938 kB / 1.234 GB, free: 14.85 MB / 1.107 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003354/0.9506, allocations: 95.23 kB / 1.234 GB, free: 14.81 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.9506, allocations: 6.922 kB / 1.234 GB, free: 14.81 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.9506, allocations: 0 / 1.234 GB, free: 14.81 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.9506, allocations: 1.953 kB / 1.234 GB, free: 14.81 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.9508, allocations: 14.56 kB / 1.234 GB, free: 14.81 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.9508, allocations: 10.53 kB / 1.234 GB, free: 14.8 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.541e-05/0.9508, allocations: 15.66 kB / 1.234 GB, free: 14.8 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.9509, allocations: 1.312 kB / 1.234 GB, free: 14.8 MB / 1.107 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.997e-05/0.9509, allocations: 117.1 kB / 1.234 GB, free: 14.68 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.75e-05/0.951, allocations: 5.859 kB / 1.234 GB, free: 14.68 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003871/0.9514, allocations: 113.9 kB / 1.234 GB, free: 14.62 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.9514, allocations: 4 kB / 1.234 GB, free: 14.62 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.9514, allocations: 0.6094 kB / 1.234 GB, free: 14.62 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.9514, allocations: 5.5 kB / 1.234 GB, free: 14.62 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.9515, allocations: 113.8 kB / 1.235 GB, free: 14.49 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.9515, allocations: 1.375 kB / 1.235 GB, free: 14.49 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.891e-05/0.9516, allocations: 14.69 kB / 1.235 GB, free: 14.49 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.9516, allocations: 1.062 kB / 1.235 GB, free: 14.49 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.064e-06/0.9516, allocations: 0.75 kB / 1.235 GB, free: 14.49 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.9516, allocations: 1.406 kB / 1.235 GB, free: 14.49 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.9516, allocations: 1.312 kB / 1.235 GB, free: 14.49 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004032/0.952, allocations: 208.4 kB / 1.235 GB, free: 14.33 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 8.896e-06/0.952, allocations: 1.984 kB / 1.235 GB, free: 14.33 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.9521, allocations: 1.969 kB / 1.235 GB, free: 14.33 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.9522, allocations: 14.22 kB / 1.235 GB, free: 14.33 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.938e-05/0.9522, allocations: 7.75 kB / 1.235 GB, free: 14.33 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.9522, allocations: 1.062 kB / 1.235 GB, free: 14.33 MB / 1.107 GB Notification: Performance of sorting global known variables: time 5.823e-05/0.9523, allocations: 93.81 kB / 1.235 GB, free: 14.25 MB / 1.107 GB Notification: Performance of sort global known variables: time 9e-08/0.9523, allocations: 0 / 1.235 GB, free: 14.25 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0002736/0.9526, allocations: 16.58 kB / 1.235 GB, free: 14.24 MB / 1.107 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.0001388/0.9527, allocations: 104.4 kB / 1.235 GB, free: 14.16 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0003579/0.9531, allocations: 66.55 kB / 1.235 GB, free: 14.15 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.9531, allocations: 7.875 kB / 1.235 GB, free: 14.14 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0001597/0.9532, allocations: 38.33 kB / 1.235 GB, free: 14.13 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.9535, allocations: 14.77 kB / 1.235 GB, free: 14.12 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003506/0.9539, allocations: 156.3 kB / 1.235 GB, free: 14 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.656e-05/0.9539, allocations: 65.94 kB / 1.235 GB, free: 13.93 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 3.033e-05/0.954, allocations: 7.734 kB / 1.235 GB, free: 13.92 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.785e-05/0.954, allocations: 12.44 kB / 1.235 GB, free: 13.92 MB / 1.107 GB Notification: Performance of SimCode: time 3.4e-07/0.954, allocations: 3.938 kB / 1.235 GB, free: 13.91 MB / 1.107 GB Notification: Performance of Templates: time 0.003658/0.9577, allocations: 0.9795 MB / 1.236 GB, free: 13.8 MB / 1.107 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 -s ida -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/jenkins1/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: 8.21734698000364]