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.0008639/0.0008639, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0008724/0.0008724, allocations: 181.9 kB / 23.22 MB, free: 1.348 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 0.9108/0.9108, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.739/1.739, allocations: 377.8 MB / 0.6228 GB, free: 8.676 MB / 0.5886 GB " [Timeout remaining time 178] 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.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: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.9822 GB, free: 2.121 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.219e-05/2.372e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.117 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.00178/0.001804, allocations: 1.51 MB / 0.9837 GB, free: 0.5977 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.5596/0.5614, allocations: 115.8 MB / 1.097 GB, free: 33.21 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.459e-05/0.5614, allocations: 0 / 1.097 GB, free: 33.21 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 3.003e-05/0.5614, allocations: 7.312 kB / 1.097 GB, free: 33.2 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 4.747e-05/0.5615, allocations: 14.89 kB / 1.097 GB, free: 33.19 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003249/0.5618, allocations: 55.8 kB / 1.097 GB, free: 33.17 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 7.205e-05/0.5619, allocations: 55.73 kB / 1.097 GB, free: 33.14 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.008e-05/0.562, allocations: 13.27 kB / 1.097 GB, free: 33.14 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.445e-05/0.562, allocations: 29.83 kB / 1.097 GB, free: 33.12 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 3.644e-05/0.5621, allocations: 22.2 kB / 1.097 GB, free: 33.11 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.5621, allocations: 6.625 kB / 1.097 GB, free: 33.11 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.925e-05/0.5622, allocations: 27.7 kB / 1.097 GB, free: 33.1 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 1.542e-05/0.5622, allocations: 11.41 kB / 1.097 GB, free: 33.09 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 2.089e-05/0.5622, allocations: 15.75 kB / 1.097 GB, free: 33.09 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.5623, allocations: 60.27 kB / 1.097 GB, free: 33.07 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.5623, allocations: 2.562 kB / 1.097 GB, free: 33.07 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5623, allocations: 0 / 1.097 GB, free: 33.07 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.5623, allocations: 0 / 1.097 GB, free: 33.07 MB / 0.9948 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.0003344/0.5627, allocations: 302 kB / 1.097 GB, free: 32.79 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.5627, allocations: 9.125 kB / 1.097 GB, free: 32.79 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.135e-05/0.5627, allocations: 7.922 kB / 1.097 GB, free: 32.78 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.691e-05/0.5628, allocations: 118.4 kB / 1.097 GB, free: 32.65 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.5628, allocations: 384 / 1.097 GB, free: 32.65 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.5628, allocations: 6.781 kB / 1.097 GB, free: 32.64 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.5629, allocations: 74.14 kB / 1.098 GB, free: 32.61 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.563, allocations: 192 / 1.098 GB, free: 32.61 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.563, allocations: 384 / 1.098 GB, free: 32.61 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.563, allocations: 8.031 kB / 1.098 GB, free: 32.6 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001383/0.5631, allocations: 68.91 kB / 1.098 GB, free: 32.59 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002591/0.5634, allocations: 227.1 kB / 1.098 GB, free: 32.36 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.5635, allocations: 53.78 kB / 1.098 GB, free: 32.34 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.2e-05/0.5636, allocations: 40.33 kB / 1.098 GB, free: 32.32 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.93e-05/0.5637, allocations: 16.86 kB / 1.098 GB, free: 32.32 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.508e-05/0.5637, allocations: 34.5 kB / 1.098 GB, free: 32.27 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.5637, allocations: 0 / 1.098 GB, free: 32.27 MB / 0.9948 GB Notification: Performance of matching and sorting (n=3): time 0.0002907/0.564, allocations: 137 kB / 1.098 GB, free: 32.22 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.839e-05/0.564, allocations: 51.41 kB / 1.098 GB, free: 32.16 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.751e-05/0.564, allocations: 108.3 kB / 1.098 GB, free: 32.06 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 6.913e-06/0.564, allocations: 25.7 kB / 1.098 GB, free: 32.03 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 2.604e-05/0.5641, allocations: 93.72 kB / 1.098 GB, free: 31.94 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 1.602e-05/0.5641, allocations: 10.36 kB / 1.098 GB, free: 31.93 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.418e-05/0.5641, allocations: 12.56 kB / 1.098 GB, free: 31.91 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.124e-05/0.5641, allocations: 320.7 kB / 1.099 GB, free: 31.6 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.712e-05/0.5642, allocations: 32.66 kB / 1.099 GB, free: 31.59 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.405e-05/0.5643, allocations: 31.58 kB / 1.099 GB, free: 31.59 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.5644, allocations: 70.16 kB / 1.099 GB, free: 31.57 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.5644, allocations: 0 / 1.099 GB, free: 31.57 MB / 0.9948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001537/0.5646, allocations: 110.8 kB / 1.099 GB, free: 31.52 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.5646, allocations: 4.594 kB / 1.099 GB, free: 31.52 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.5646, allocations: 0 / 1.099 GB, free: 31.52 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.809e-06/0.5646, allocations: 48 / 1.099 GB, free: 31.52 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.886e-05/0.5647, allocations: 18.09 kB / 1.099 GB, free: 31.51 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.5647, allocations: 0 / 1.099 GB, free: 31.51 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.459e-05/0.5647, allocations: 21.92 kB / 1.099 GB, free: 31.5 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.5647, allocations: 6.875 kB / 1.099 GB, free: 31.5 MB / 0.9948 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 3.606e-05/0.5647, allocations: 109.8 kB / 1.099 GB, free: 31.38 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.326e-05/0.5647, allocations: 7.562 kB / 1.099 GB, free: 31.38 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001847/0.5649, allocations: 111.9 kB / 1.099 GB, free: 31.33 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.5649, allocations: 0 / 1.099 GB, free: 31.33 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.5649, allocations: 2.906 kB / 1.099 GB, free: 31.33 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.5649, allocations: 0 / 1.099 GB, free: 31.33 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.562e-05/0.565, allocations: 117 kB / 1.099 GB, free: 31.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-07/0.565, allocations: 0 / 1.099 GB, free: 31.2 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.281e-05/0.5651, allocations: 15.89 kB / 1.099 GB, free: 31.2 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.5651, allocations: 1.219 kB / 1.099 GB, free: 31.2 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.5651, allocations: 3.938 kB / 1.099 GB, free: 31.19 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.5651, allocations: 3.938 kB / 1.099 GB, free: 31.19 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.5651, allocations: 3.125 kB / 1.099 GB, free: 31.19 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001909/0.5653, allocations: 204.1 kB / 1.1 GB, free: 31.04 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.825e-06/0.5653, allocations: 2.25 kB / 1.1 GB, free: 31.04 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/0.5653, allocations: 4.469 kB / 1.1 GB, free: 31.04 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.327e-05/0.5653, allocations: 14.23 kB / 1.1 GB, free: 31.04 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.877e-05/0.5654, allocations: 1.719 kB / 1.1 GB, free: 31.04 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.5654, allocations: 0.5625 kB / 1.1 GB, free: 31.04 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 2.507e-05/0.5654, allocations: 89.95 kB / 1.1 GB, free: 30.96 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.5654, allocations: 0 / 1.1 GB, free: 30.96 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001591/0.5656, allocations: 20.52 kB / 1.1 GB, free: 30.95 MB / 0.9948 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.0001256/0.5657, allocations: 115.2 kB / 1.1 GB, free: 30.86 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001927/0.5659, allocations: 65.31 kB / 1.1 GB, free: 30.85 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.5659, allocations: 0 / 1.1 GB, free: 30.85 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 8.031e-05/0.566, allocations: 37.89 kB / 1.1 GB, free: 30.84 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.5662, allocations: 15.48 kB / 1.1 GB, free: 30.84 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002826/0.5665, allocations: 172 kB / 1.1 GB, free: 30.68 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.159e-05/0.5665, allocations: 71.06 kB / 1.1 GB, free: 30.61 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.849e-05/0.5666, allocations: 11 kB / 1.1 GB, free: 30.6 MB / 0.9948 GB Notification: Performance of SimCode: time 4.91e-07/0.5666, allocations: 0.6875 kB / 1.1 GB, free: 30.6 MB / 0.9948 GB Notification: Performance of Templates: time 0.001987/0.5685, allocations: 0.9171 MB / 1.101 GB, free: 30.55 MB / 0.9948 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 -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/jenkins/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: 7.020696679130197]