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.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.001401/0.001401, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001604/0.001604, allocations: 210.5 kB / 22.24 MB, free: 4.859 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.525/1.525, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.378/3.378, allocations: 0.5107 GB / 0.8158 GB, free: 17.78 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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: 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.002048/0.002048, allocations: 69.7 kB / 1.186 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.3477, allocations: 181.9 MB / 1.364 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.00276/0.3505, allocations: 1.501 MB / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1552/0.5057, allocations: 115.8 MB / 1.478 GB, free: 7.836 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.26e-05/0.5058, allocations: 0 / 1.478 GB, free: 7.836 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 4.132e-05/0.5058, allocations: 3.938 kB / 1.478 GB, free: 7.832 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 6.609e-05/0.5059, allocations: 19.84 kB / 1.478 GB, free: 7.812 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003927/0.5063, allocations: 67.67 kB / 1.478 GB, free: 7.746 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.5064, allocations: 59.73 kB / 1.479 GB, free: 7.688 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 9.722e-05/0.5065, allocations: 11.98 kB / 1.479 GB, free: 7.676 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 6.467e-05/0.5065, allocations: 23.91 kB / 1.479 GB, free: 7.652 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 5.482e-05/0.5066, allocations: 19.92 kB / 1.479 GB, free: 7.633 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.5066, allocations: 4 kB / 1.479 GB, free: 7.629 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.5067, allocations: 19.98 kB / 1.479 GB, free: 7.609 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 2.241e-05/0.5067, allocations: 15.88 kB / 1.479 GB, free: 7.594 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 3.549e-05/0.5068, allocations: 15.92 kB / 1.479 GB, free: 7.578 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.5069, allocations: 63.73 kB / 1.479 GB, free: 7.516 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.5069, allocations: 4 kB / 1.479 GB, free: 7.512 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.452e-06/0.5069, allocations: 0 / 1.479 GB, free: 7.512 MB / 1.17 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.5069, allocations: 0 / 1.479 GB, free: 7.512 MB / 1.17 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.0005334/0.5075, allocations: 298.1 kB / 1.479 GB, free: 7.188 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.5075, allocations: 12.03 kB / 1.479 GB, free: 7.176 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000158/0.5077, allocations: 12.92 kB / 1.479 GB, free: 7.164 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.5078, allocations: 114.4 kB / 1.479 GB, free: 7.027 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.5078, allocations: 384 / 1.479 GB, free: 7.027 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.5078, allocations: 12.38 kB / 1.479 GB, free: 7.016 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002653/0.5081, allocations: 78.14 kB / 1.479 GB, free: 6.934 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.5081, allocations: 192 / 1.479 GB, free: 6.934 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.5081, allocations: 3.938 kB / 1.479 GB, free: 6.93 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.5081, allocations: 0 / 1.479 GB, free: 6.93 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002928/0.5084, allocations: 63.92 kB / 1.479 GB, free: 6.867 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003823/0.5088, allocations: 228.5 kB / 1.479 GB, free: 6.613 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002098/0.509, allocations: 66.41 kB / 1.48 GB, free: 6.539 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001461/0.5091, allocations: 32.92 kB / 1.48 GB, free: 6.504 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 9.688e-06/0.5092, allocations: 4 kB / 1.48 GB, free: 6.5 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.5092, allocations: 34.56 kB / 1.48 GB, free: 6.457 MB / 1.17 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.5092, allocations: 0 / 1.48 GB, free: 6.457 MB / 1.17 GB Notification: Performance of matching and sorting (n=3): time 0.0005293/0.5097, allocations: 129.6 kB / 1.48 GB, free: 6.324 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/0.5097, allocations: 59.34 kB / 1.48 GB, free: 6.254 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.471e-05/0.5098, allocations: 109.8 kB / 1.48 GB, free: 6.137 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.5099, allocations: 29.7 kB / 1.48 GB, free: 6.102 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 5.269e-05/0.5099, allocations: 88.09 kB / 1.48 GB, free: 6.012 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 2.334e-05/0.5099, allocations: 20 kB / 1.48 GB, free: 5.992 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.703e-05/0.51, allocations: 13.72 kB / 1.48 GB, free: 5.973 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.5101, allocations: 314.8 kB / 1.48 GB, free: 5.656 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.5102, allocations: 31.95 kB / 1.48 GB, free: 5.625 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.5104, allocations: 31.97 kB / 1.48 GB, free: 5.594 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002717/0.5106, allocations: 72.72 kB / 1.48 GB, free: 5.52 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.5107, allocations: 3.938 kB / 1.48 GB, free: 5.516 MB / 1.17 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003242/0.511, allocations: 109.5 kB / 1.481 GB, free: 5.402 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.511, allocations: 4 kB / 1.481 GB, free: 5.398 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.511, allocations: 0 / 1.481 GB, free: 5.398 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.511, allocations: 384 / 1.481 GB, free: 5.398 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.5111, allocations: 23.97 kB / 1.481 GB, free: 5.375 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.5111, allocations: 0 / 1.481 GB, free: 5.375 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.429e-05/0.5112, allocations: 11.98 kB / 1.481 GB, free: 5.363 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-06/0.5112, allocations: 3.938 kB / 1.481 GB, free: 5.359 MB / 1.17 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.615e-05/0.5113, allocations: 117.8 kB / 1.481 GB, free: 5.234 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.469e-05/0.5113, allocations: 4.281 kB / 1.481 GB, free: 5.23 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.525e-05/0.5114, allocations: 4 kB / 1.481 GB, free: 5.215 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-06/0.5114, allocations: 7.984 kB / 1.481 GB, free: 5.207 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.5114, allocations: 0 / 1.481 GB, free: 5.207 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-06/0.5114, allocations: 4 kB / 1.481 GB, free: 5.203 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/0.5115, allocations: 121.2 kB / 1.481 GB, free: 5.055 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.5115, allocations: 0 / 1.481 GB, free: 5.055 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.5116, allocations: 15.98 kB / 1.481 GB, free: 5.039 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.5116, allocations: 0 / 1.481 GB, free: 5.039 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.5116, allocations: 0 / 1.481 GB, free: 5.039 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.5116, allocations: 0 / 1.481 GB, free: 5.039 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.5116, allocations: 0 / 1.481 GB, free: 5.039 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003842/0.512, allocations: 207.3 kB / 1.481 GB, free: 4.82 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 1.429e-05/0.512, allocations: 11.89 kB / 1.481 GB, free: 4.809 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.5121, allocations: 0 / 1.481 GB, free: 4.809 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.5122, allocations: 11.98 kB / 1.481 GB, free: 4.797 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.808e-05/0.5122, allocations: 7.984 kB / 1.481 GB, free: 4.789 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.5122, allocations: 4 kB / 1.481 GB, free: 4.785 MB / 1.17 GB Notification: Performance of sorting global known variables: time 5.253e-05/0.5123, allocations: 87.28 kB / 1.481 GB, free: 4.699 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/0.5123, allocations: 0 / 1.481 GB, free: 4.699 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0002209/0.5125, allocations: 8 kB / 1.481 GB, free: 4.691 MB / 1.17 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.0001028/0.5126, allocations: 99.23 kB / 1.481 GB, free: 4.586 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0003348/0.5129, allocations: 71.86 kB / 1.481 GB, free: 4.516 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.513, allocations: 0 / 1.481 GB, free: 4.516 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0001458/0.5131, allocations: 31.97 kB / 1.481 GB, free: 4.484 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.5134, allocations: 27.86 kB / 1.481 GB, free: 4.457 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003595/0.5138, allocations: 144.5 kB / 1.482 GB, free: 4.289 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.682e-05/0.5138, allocations: 67.34 kB / 1.482 GB, free: 4.203 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 3.881e-05/0.5139, allocations: 4 kB / 1.482 GB, free: 4.199 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.208e-05/0.5139, allocations: 19.31 kB / 1.482 GB, free: 4.18 MB / 1.17 GB Notification: Performance of SimCode: time 2.8e-07/0.5139, allocations: 0 / 1.482 GB, free: 4.18 MB / 1.17 GB Notification: Performance of Templates: time 0.003548/0.5174, allocations: 0.9592 MB / 1.483 GB, free: 3.246 MB / 1.17 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.15588878467679]