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.001845/0.001845, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.00194/0.00194, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.505/1.505, allocations: 177.1 MB / 203.9 MB, free: 5.301 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 3.015/3.015, allocations: 377.9 MB / 0.6232 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 176] 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.583e-06/1.583e-06, allocations: 0.5469 kB / 0.8108 GB, free: 1.016 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.427e-05/2.585e-05, allocations: 2.312 kB / 0.8108 GB, free: 1.012 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002751/0.002777, allocations: 1.516 MB / 0.8123 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.1749/0.1777, allocations: 127.4 MB / 0.9367 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.871e-05/0.1778, allocations: 0 / 0.9367 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 4.134e-05/0.1778, allocations: 7.938 kB / 0.9367 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.157e-05/0.1779, allocations: 11.86 kB / 0.9367 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003841/0.1783, allocations: 63.73 kB / 0.9368 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.000103/0.1784, allocations: 55.72 kB / 0.9368 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 8.881e-05/0.1785, allocations: 15.97 kB / 0.9369 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 7.805e-05/0.1785, allocations: 23.98 kB / 0.9369 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.459e-05/0.1786, allocations: 23.91 kB / 0.9369 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.1786, allocations: 4 kB / 0.9369 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.1787, allocations: 23.94 kB / 0.9369 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.81e-05/0.1787, allocations: 11.98 kB / 0.9369 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.929e-05/0.1788, allocations: 15.92 kB / 0.937 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.1789, allocations: 67.73 kB / 0.937 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1789, allocations: 0 / 0.937 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1789, allocations: 0 / 0.937 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.1789, allocations: 0 / 0.937 GB, free: 15.34 MB / 0.8542 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.0005689/0.1795, allocations: 388.1 kB / 0.9374 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.1795, allocations: 12.03 kB / 0.9374 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.546e-05/0.1796, allocations: 4.938 kB / 0.9374 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.1797, allocations: 120.5 kB / 0.9375 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.1797, allocations: 8.375 kB / 0.9375 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.1798, allocations: 8.312 kB / 0.9375 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/0.18, allocations: 62.22 kB / 0.9376 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.18, allocations: 192 / 0.9376 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.18, allocations: 4.375 kB / 0.9376 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.18, allocations: 384 / 0.9376 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001917/0.1802, allocations: 47.91 kB / 0.9377 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000412/0.1806, allocations: 275.7 kB / 0.9379 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001735/0.1808, allocations: 58.98 kB / 0.938 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.1809, allocations: 27.77 kB / 0.938 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001366/0.181, allocations: 15.98 kB / 0.938 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/0.181, allocations: 37.33 kB / 0.938 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.181, allocations: 0 / 0.938 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0004205/0.1815, allocations: 105.6 kB / 0.9381 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.781e-05/0.1815, allocations: 51.41 kB / 0.9382 GB, free: 13.99 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.1817, allocations: 173.9 kB / 0.9384 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.1817, allocations: 25.7 kB / 0.9384 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.947e-05/0.1818, allocations: 142.8 kB / 0.9385 GB, free: 13.63 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.1818, allocations: 11.89 kB / 0.9385 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.547e-05/0.1818, allocations: 19.38 kB / 0.9386 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002496/0.1821, allocations: 0.4884 MB / 0.939 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.821e-05/0.1822, allocations: 19.97 kB / 0.939 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.151e-05/0.1823, allocations: 24.11 kB / 0.9391 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001768/0.1824, allocations: 63.73 kB / 0.9391 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.1824, allocations: 0 / 0.9391 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002379/0.1827, allocations: 81.5 kB / 0.9392 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.1827, allocations: 8 kB / 0.9392 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.1827, allocations: 0 / 0.9392 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.1827, allocations: 0 / 0.9392 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.932e-05/0.1828, allocations: 11.98 kB / 0.9392 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.1828, allocations: 0 / 0.9392 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.126e-05/0.1829, allocations: 11.98 kB / 0.9392 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.1829, allocations: 4 kB / 0.9392 GB, free: 12.86 MB / 0.8542 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 0.0001091/0.183, allocations: 156.6 kB / 0.9394 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.019e-05/0.183, allocations: 7.938 kB / 0.9394 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000273/0.1833, allocations: 89.58 kB / 0.9395 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1833, allocations: 0 / 0.9395 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.1833, allocations: 0 / 0.9395 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.1833, allocations: 4 kB / 0.9395 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001821/0.1835, allocations: 136.6 kB / 0.9396 GB, free: 12.42 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.1835, allocations: 4 kB / 0.9396 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.755e-05/0.1835, allocations: 8 kB / 0.9396 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1835, allocations: 0 / 0.9396 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.1836, allocations: 3.938 kB / 0.9396 GB, free: 12.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.1836, allocations: 4 kB / 0.9396 GB, free: 12.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.1836, allocations: 0 / 0.9396 GB, free: 12.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003162/0.1839, allocations: 219.9 kB / 0.9399 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.05e-05/0.1839, allocations: 3.953 kB / 0.9399 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.1839, allocations: 15.94 kB / 0.9399 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.07e-05/0.184, allocations: 11.92 kB / 0.9399 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.961e-05/0.184, allocations: 3.984 kB / 0.9399 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.184, allocations: 0 / 0.9399 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.796e-05/0.1841, allocations: 131.2 kB / 0.94 GB, free: 12 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.1841, allocations: 0 / 0.94 GB, free: 12 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002265/0.1844, allocations: 15.94 kB / 0.94 GB, free: 11.98 MB / 0.8542 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.0001784/0.1845, allocations: 111.2 kB / 0.9401 GB, free: 11.87 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002542/0.1848, allocations: 59.64 kB / 0.9402 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1848, allocations: 3.938 kB / 0.9402 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001144/0.1849, allocations: 35.61 kB / 0.9402 GB, free: 11.76 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002551/0.1852, allocations: 14.61 kB / 0.9402 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000383/0.1855, allocations: 162.3 kB / 0.9404 GB, free: 11.56 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.953e-05/0.1856, allocations: 75.33 kB / 0.9405 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.198e-05/0.1857, allocations: 4 kB / 0.9405 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.043e-05/0.1857, allocations: 8.5 kB / 0.9405 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of SimCode: time 4.11e-07/0.1857, allocations: 0 / 0.9405 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of Templates: time 0.004287/0.19, allocations: 1.016 MB / 0.9415 GB, free: 10.47 MB / 0.8542 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 240] 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: 8.090092360973358]