Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 112.7 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001749/0.001749, allocations: 188.8 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.159/3.159, allocations: 0.4893 GB / 0.7884 GB, free: 33.11 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_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_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 66.2 kB / 1.145 GB, free: 30.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3801/0.3821, allocations: 174.9 MB / 1.316 GB, free: 9.836 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002767/0.3849, allocations: 1.511 MB / 1.317 GB, free: 8.316 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1573/0.5422, allocations: 132.5 MB / 1.447 GB, free: 3.348 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.69e-05/0.5423, allocations: 4 kB / 1.447 GB, free: 3.344 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 3.703e-05/0.5423, allocations: 7.922 kB / 1.447 GB, free: 3.336 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 7.219e-05/0.5424, allocations: 7.875 kB / 1.447 GB, free: 3.328 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.000381/0.5428, allocations: 67.66 kB / 1.447 GB, free: 3.262 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.5429, allocations: 59.72 kB / 1.447 GB, free: 3.203 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 9.23e-05/0.543, allocations: 11.98 kB / 1.447 GB, free: 3.191 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 7.144e-05/0.543, allocations: 19.92 kB / 1.447 GB, free: 3.172 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 5.472e-05/0.5431, allocations: 23.92 kB / 1.447 GB, free: 3.148 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.5431, allocations: 4 kB / 1.447 GB, free: 3.145 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 9.38e-05/0.5432, allocations: 27.86 kB / 1.447 GB, free: 3.121 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 1.829e-05/0.5432, allocations: 11.92 kB / 1.447 GB, free: 3.109 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 3.973e-05/0.5433, allocations: 19.94 kB / 1.447 GB, free: 3.09 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0001462/0.5434, allocations: 59.73 kB / 1.447 GB, free: 3.031 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/0.5434, allocations: 3.938 kB / 1.447 GB, free: 3.027 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5434, allocations: 0 / 1.447 GB, free: 3.027 MB / 1.139 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.5434, allocations: 4 kB / 1.447 GB, free: 3.023 MB / 1.139 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.0005362/0.544, allocations: 302.1 kB / 1.447 GB, free: 2.695 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.544, allocations: 12.03 kB / 1.447 GB, free: 2.684 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.926e-05/0.544, allocations: 4.938 kB / 1.447 GB, free: 2.68 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.5441, allocations: 110.5 kB / 1.448 GB, free: 2.547 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.5442, allocations: 384 / 1.448 GB, free: 2.547 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.988e-06/0.5442, allocations: 384 / 1.448 GB, free: 2.547 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002504/0.5444, allocations: 74.2 kB / 1.448 GB, free: 2.469 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.5444, allocations: 192 / 1.448 GB, free: 2.469 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.5444, allocations: 11.94 kB / 1.448 GB, free: 2.457 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.5444, allocations: 4 kB / 1.448 GB, free: 2.453 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002823/0.5447, allocations: 67.86 kB / 1.448 GB, free: 2.387 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003945/0.5451, allocations: 259.8 kB / 1.448 GB, free: 2.09 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000196/0.5453, allocations: 54.53 kB / 1.448 GB, free: 2.027 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001432/0.5455, allocations: 36.92 kB / 1.448 GB, free: 1.988 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001357/0.5456, allocations: 15.92 kB / 1.448 GB, free: 1.973 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.5456, allocations: 34.56 kB / 1.448 GB, free: 1.93 MB / 1.139 GB Notification: Performance of pre-optimization done (n=3): time 1.233e-06/0.5456, allocations: 7.875 kB / 1.448 GB, free: 1.922 MB / 1.139 GB Notification: Performance of matching and sorting (n=3): time 0.0005166/0.5461, allocations: 137.5 kB / 1.448 GB, free: 1.781 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.5462, allocations: 51.41 kB / 1.448 GB, free: 1.719 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.5463, allocations: 117.6 kB / 1.448 GB, free: 1.594 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.5463, allocations: 33.7 kB / 1.448 GB, free: 1.555 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 5.421e-05/0.5464, allocations: 92.12 kB / 1.449 GB, free: 1.461 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 1.747e-05/0.5464, allocations: 7.953 kB / 1.449 GB, free: 1.453 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.413e-05/0.5464, allocations: 13.72 kB / 1.449 GB, free: 1.434 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.5466, allocations: 322.8 kB / 1.449 GB, free: 1.109 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.5467, allocations: 27.97 kB / 1.449 GB, free: 1.082 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/0.5468, allocations: 35.89 kB / 1.449 GB, free: 1.047 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00024/0.5471, allocations: 68.8 kB / 1.449 GB, free: 0.9766 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.5471, allocations: 4 kB / 1.449 GB, free: 0.9727 MB / 1.139 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003078/0.5474, allocations: 101.6 kB / 1.449 GB, free: 0.8672 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.5474, allocations: 12 kB / 1.449 GB, free: 0.8555 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.5474, allocations: 0 / 1.449 GB, free: 0.8555 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.5474, allocations: 0 / 1.449 GB, free: 0.8555 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.5475, allocations: 15.98 kB / 1.449 GB, free: 0.8398 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.5475, allocations: 0 / 1.449 GB, free: 0.8398 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.636e-05/0.5476, allocations: 7.984 kB / 1.449 GB, free: 0.832 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.5476, allocations: 8.328 kB / 1.449 GB, free: 0.8242 MB / 1.139 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.622e-05/0.5477, allocations: 119.1 kB / 1.449 GB, free: 0.6992 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.296e-05/0.5477, allocations: 11.95 kB / 1.449 GB, free: 0.6875 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003519/0.5481, allocations: 109.6 kB / 1.449 GB, free: 0.5625 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.5481, allocations: 0 / 1.449 GB, free: 0.5625 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.5481, allocations: 0 / 1.449 GB, free: 0.5625 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.5481, allocations: 0 / 1.449 GB, free: 0.5625 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/0.5483, allocations: 148.7 kB / 1.449 GB, free: 384 kB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.5483, allocations: 0 / 1.449 GB, free: 384 kB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.37e-05/0.5484, allocations: 15.98 kB / 1.449 GB, free: 368 kB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.5484, allocations: 0 / 1.449 GB, free: 368 kB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.5484, allocations: 4 kB / 1.449 GB, free: 364 kB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.5484, allocations: 0 / 1.449 GB, free: 364 kB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.5484, allocations: 3.938 kB / 1.449 GB, free: 360 kB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003641/0.5487, allocations: 211.3 kB / 1.45 GB, free: 132 kB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 1.333e-05/0.5488, allocations: 7.938 kB / 1.45 GB, free: 124 kB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.5488, allocations: 0 / 1.45 GB, free: 124 kB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.5489, allocations: 11.98 kB / 1.45 GB, free: 112 kB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.056e-05/0.5489, allocations: 7.984 kB / 1.45 GB, free: 104 kB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-06/0.5489, allocations: 0 / 1.45 GB, free: 104 kB / 1.139 GB Notification: Performance of sorting global known variables: time 5.991e-05/0.549, allocations: 95.27 kB / 1.45 GB, free: 8 kB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/0.549, allocations: 0 / 1.45 GB, free: 8 kB / 1.139 GB Notification: Performance of remove unused functions: time 0.0002541/0.5492, allocations: 19.98 kB / 1.45 GB, free: 15.98 MB / 1.154 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.0001368/0.5494, allocations: 107.1 kB / 1.45 GB, free: 15.88 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.000324/0.5497, allocations: 67.86 kB / 1.45 GB, free: 15.81 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.5497, allocations: 0 / 1.45 GB, free: 15.81 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.5498, allocations: 43.97 kB / 1.45 GB, free: 15.77 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003296/0.5502, allocations: 15.92 kB / 1.45 GB, free: 15.75 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003646/0.5505, allocations: 156.1 kB / 1.45 GB, free: 15.57 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.5508, allocations: 0.6807 MB / 1.451 GB, free: 14.86 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 3.524e-05/0.5509, allocations: 7.984 kB / 1.451 GB, free: 14.86 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.015e-05/0.5509, allocations: 15.38 kB / 1.451 GB, free: 14.84 MB / 1.154 GB Notification: Performance of SimCode: time 3.3e-07/0.5509, allocations: 0 / 1.451 GB, free: 14.84 MB / 1.154 GB Notification: Performance of Templates: time 0.003733/0.5546, allocations: 1.015 MB / 1.452 GB, free: 13.84 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.053385473787785]