Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Functions.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.002038/0.002038, allocations: 88.39 kB / 20.23 MB, free: 4.172 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.002642/0.002642, allocations: 161.3 kB / 23.55 MB, free: 0.8633 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 1.51/1.51, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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 2.809/2.809, allocations: 377.8 MB / 0.6232 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 177] 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.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 5.26e-06/5.26e-06, allocations: 4.766 kB / 0.8108 GB, free: 2.117 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.616e-05/3.142e-05, allocations: 5.453 kB / 0.8108 GB, free: 2.113 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002807/0.002839, allocations: 1.296 MB / 0.8121 GB, free: 0.8242 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.1663/0.1692, allocations: 115.8 MB / 0.9251 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.151e-05/0.1692, allocations: 0 / 0.9251 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 2.17e-05/0.1692, allocations: 3.984 kB / 0.9251 GB, free: 12.65 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 5.082e-05/0.1693, allocations: 11.86 kB / 0.9252 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003418/0.1696, allocations: 43.75 kB / 0.9252 GB, free: 12.6 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 8.217e-05/0.1697, allocations: 27.86 kB / 0.9252 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 3.211e-05/0.1697, allocations: 3.984 kB / 0.9252 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 6.642e-05/0.1698, allocations: 15.98 kB / 0.9252 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 5.072e-05/0.1699, allocations: 7.984 kB / 0.9253 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.1699, allocations: 0 / 0.9253 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 8.079e-05/0.1699, allocations: 23.88 kB / 0.9253 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 1.779e-05/0.17, allocations: 3.984 kB / 0.9253 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 2.299e-05/0.17, allocations: 4 kB / 0.9253 GB, free: 12.51 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.1701, allocations: 31.91 kB / 0.9253 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1701, allocations: 0 / 0.9253 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.042e-06/0.1701, allocations: 0 / 0.9253 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.1701, allocations: 0 / 0.9253 GB, free: 12.48 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004035/0.1705, allocations: 254.3 kB / 0.9256 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.1706, allocations: 8.031 kB / 0.9256 GB, free: 12.19 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.782e-05/0.1706, allocations: 16.89 kB / 0.9256 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.1707, allocations: 113.8 kB / 0.9257 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.425e-05/0.1708, allocations: 51.97 kB / 0.9257 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.1708, allocations: 4.375 kB / 0.9257 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.171, allocations: 42.19 kB / 0.9258 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.171, allocations: 4.125 kB / 0.9258 GB, free: 11.92 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.171, allocations: 384 / 0.9258 GB, free: 11.92 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.171, allocations: 4.125 kB / 0.9258 GB, free: 11.92 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.199e-05/0.1711, allocations: 11.98 kB / 0.9258 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001487/0.1712, allocations: 101.3 kB / 0.9259 GB, free: 11.78 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.1713, allocations: 38.61 kB / 0.9259 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.417e-05/0.1714, allocations: 12.94 kB / 0.926 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001285/0.1715, allocations: 8 kB / 0.926 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.1715, allocations: 34.55 kB / 0.926 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.1715, allocations: 0 / 0.926 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3): time 0.0002456/0.1718, allocations: 61.62 kB / 0.926 GB, free: 11.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/0.1718, allocations: 51.41 kB / 0.9261 GB, free: 11.54 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.1719, allocations: 106 kB / 0.9262 GB, free: 11.42 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.172, allocations: 33.7 kB / 0.9262 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.712e-05/0.172, allocations: 80.14 kB / 0.9263 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/0.172, allocations: 15.84 kB / 0.9263 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.522e-05/0.1721, allocations: 13.72 kB / 0.9263 GB, free: 11.27 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.1722, allocations: 314.8 kB / 0.9266 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.885e-05/0.1723, allocations: 7.984 kB / 0.9266 GB, free: 10.94 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.797e-05/0.1723, allocations: 4 kB / 0.9266 GB, free: 10.94 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.841e-05/0.1724, allocations: 28.78 kB / 0.9267 GB, free: 10.91 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1724, allocations: 0 / 0.9267 GB, free: 10.91 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001378/0.1726, allocations: 53.67 kB / 0.9267 GB, free: 10.85 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.1726, allocations: 8 kB / 0.9267 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.1726, allocations: 0 / 0.9267 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.1726, allocations: 0 / 0.9267 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.161e-05/0.1726, allocations: 4 kB / 0.9267 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.1727, allocations: 3.938 kB / 0.9267 GB, free: 10.83 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.168e-05/0.1727, allocations: 4 kB / 0.9267 GB, free: 10.83 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.1727, allocations: 4 kB / 0.9267 GB, free: 10.82 MB / 0.8855 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.898e-05/0.1728, allocations: 113.8 kB / 0.9269 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.961e-05/0.1728, allocations: 4 kB / 0.9269 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001687/0.173, allocations: 57.31 kB / 0.9269 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.173, allocations: 4 kB / 0.9269 GB, free: 10.63 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.173, allocations: 3.984 kB / 0.9269 GB, free: 10.63 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.173, allocations: 7.875 kB / 0.9269 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001006/0.1731, allocations: 101.3 kB / 0.927 GB, free: 10.49 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1731, allocations: 0 / 0.927 GB, free: 10.49 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.323e-05/0.1731, allocations: 4 kB / 0.927 GB, free: 10.49 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.1731, allocations: 0 / 0.927 GB, free: 10.49 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-06/0.1731, allocations: 0 / 0.927 GB, free: 10.49 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.183e-06/0.1731, allocations: 11.98 kB / 0.927 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.1731, allocations: 4 kB / 0.927 GB, free: 10.47 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001654/0.1733, allocations: 81 kB / 0.9271 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 2.853e-05/0.1733, allocations: 0 / 0.9271 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.1734, allocations: 7.984 kB / 0.9271 GB, free: 10.37 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.96e-05/0.1734, allocations: 0 / 0.9271 GB, free: 10.37 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.434e-05/0.1734, allocations: 0 / 0.9271 GB, free: 10.37 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.301e-06/0.1734, allocations: 4 kB / 0.9271 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.799e-05/0.1735, allocations: 87.62 kB / 0.9272 GB, free: 10.28 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6e-08/0.1735, allocations: 0 / 0.9272 GB, free: 10.28 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001936/0.1737, allocations: 12 kB / 0.9272 GB, free: 10.27 MB / 0.8855 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.0001778/0.1739, allocations: 111.2 kB / 0.9273 GB, free: 10.15 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001382/0.174, allocations: 20.12 kB / 0.9274 GB, free: 10.13 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.174, allocations: 0 / 0.9274 GB, free: 10.13 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 4.817e-05/0.174, allocations: 12.03 kB / 0.9274 GB, free: 10.12 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/0.1743, allocations: 7.984 kB / 0.9274 GB, free: 10.11 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002881/0.1746, allocations: 116.9 kB / 0.9275 GB, free: 9.969 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.86e-05/0.1746, allocations: 75.19 kB / 0.9276 GB, free: 9.875 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.33e-05/0.1747, allocations: 3.984 kB / 0.9276 GB, free: 9.871 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.593e-05/0.1747, allocations: 12.5 kB / 0.9276 GB, free: 9.859 MB / 0.8855 GB Notification: Performance of SimCode: time 4.01e-07/0.1747, allocations: 0 / 0.9276 GB, free: 9.859 MB / 0.8855 GB Notification: Performance of Templates: time 0.00316/0.1779, allocations: 0.5548 MB / 0.9281 GB, free: 9.32 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.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.779916209983639]