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.002503/0.002503, allocations: 79.7 kB / 20.23 MB, free: 4.191 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.002826/0.002826, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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.57/1.57, allocations: 177.1 MB / 203.9 MB, free: 5.605 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.99/2.99, allocations: 377.8 MB / 0.6232 GB, free: 8.516 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.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 1.323e-06/1.323e-06, allocations: 1.094 kB / 0.8108 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.747e-05/2.879e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002592/0.002621, allocations: 1.321 MB / 0.8121 GB, free: 0.7695 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.1762/0.1788, allocations: 127.4 MB / 0.9365 GB, free: 0.9688 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.558e-05/0.1789, allocations: 0 / 0.9365 GB, free: 0.9688 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 1.911e-05/0.1789, allocations: 3.938 kB / 0.9365 GB, free: 0.9648 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 5.505e-05/0.1789, allocations: 7.828 kB / 0.9365 GB, free: 0.9609 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003572/0.1793, allocations: 51.73 kB / 0.9366 GB, free: 0.9102 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 8.135e-05/0.1794, allocations: 19.86 kB / 0.9366 GB, free: 0.8906 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 3.48e-05/0.1794, allocations: 4 kB / 0.9366 GB, free: 0.8867 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 6.826e-05/0.1795, allocations: 19.92 kB / 0.9366 GB, free: 0.8672 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 5.738e-05/0.1795, allocations: 7.984 kB / 0.9366 GB, free: 0.8594 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.1796, allocations: 4 kB / 0.9366 GB, free: 0.8555 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.1797, allocations: 19.92 kB / 0.9366 GB, free: 0.8359 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 1.508e-05/0.1797, allocations: 0 / 0.9366 GB, free: 0.8359 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 2.355e-05/0.1797, allocations: 8 kB / 0.9366 GB, free: 0.8281 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0001125/0.1798, allocations: 27.84 kB / 0.9367 GB, free: 0.8008 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 8.246e-06/0.1798, allocations: 3.984 kB / 0.9367 GB, free: 0.7969 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1798, allocations: 0 / 0.9367 GB, free: 0.7969 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.1798, allocations: 4 kB / 0.9367 GB, free: 0.793 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.0005147/0.1803, allocations: 360.3 kB / 0.937 GB, free: 412 kB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.1804, allocations: 8.031 kB / 0.937 GB, free: 404 kB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.394e-05/0.1804, allocations: 12.89 kB / 0.937 GB, free: 392 kB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003735/0.1808, allocations: 104.6 kB / 0.9371 GB, free: 260 kB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/0.1809, allocations: 55.97 kB / 0.9372 GB, free: 192 kB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.927e-06/0.1809, allocations: 384 / 0.9372 GB, free: 192 kB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.1811, allocations: 46.19 kB / 0.9372 GB, free: 140 kB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.1811, allocations: 192 / 0.9372 GB, free: 140 kB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-06/0.1811, allocations: 384 / 0.9372 GB, free: 140 kB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.1811, allocations: 4.125 kB / 0.9372 GB, free: 136 kB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.08e-05/0.1811, allocations: 7.984 kB / 0.9372 GB, free: 128 kB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002108/0.1814, allocations: 112.6 kB / 0.9373 GB, free: 15.98 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/0.1815, allocations: 43.09 kB / 0.9374 GB, free: 15.93 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.071e-05/0.1815, allocations: 15.69 kB / 0.9374 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000152/0.1817, allocations: 12.08 kB / 0.9374 GB, free: 15.89 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/0.1817, allocations: 37.33 kB / 0.9374 GB, free: 15.85 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1817, allocations: 0 / 0.9374 GB, free: 15.85 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.0002489/0.182, allocations: 57.67 kB / 0.9375 GB, free: 15.79 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.182, allocations: 51.41 kB / 0.9376 GB, free: 15.72 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.1821, allocations: 166 kB / 0.9377 GB, free: 15.54 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.1822, allocations: 25.7 kB / 0.9377 GB, free: 15.51 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 6.878e-05/0.1822, allocations: 126.9 kB / 0.9379 GB, free: 15.38 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.555e-05/0.1823, allocations: 15.84 kB / 0.9379 GB, free: 15.37 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.731e-05/0.1823, allocations: 27.36 kB / 0.9379 GB, free: 15.33 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002568/0.1826, allocations: 496.1 kB / 0.9384 GB, free: 14.84 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.723e-05/0.1826, allocations: 4 kB / 0.9384 GB, free: 14.83 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.723e-05/0.1826, allocations: 11.98 kB / 0.9384 GB, free: 14.82 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.352e-05/0.1827, allocations: 23.62 kB / 0.9384 GB, free: 14.79 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1827, allocations: 0 / 0.9384 GB, free: 14.79 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001223/0.1828, allocations: 45.69 kB / 0.9385 GB, free: 14.74 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.1828, allocations: 4 kB / 0.9385 GB, free: 14.74 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.1829, allocations: 7.984 kB / 0.9385 GB, free: 14.73 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.1829, allocations: 4 kB / 0.9385 GB, free: 14.73 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.153e-05/0.1829, allocations: 4 kB / 0.9385 GB, free: 14.72 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.1829, allocations: 3.938 kB / 0.9385 GB, free: 14.72 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.452e-05/0.183, allocations: 0 / 0.9385 GB, free: 14.72 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-06/0.183, allocations: 4 kB / 0.9385 GB, free: 14.71 MB / 0.9011 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.0001145/0.1831, allocations: 160.5 kB / 0.9386 GB, free: 14.55 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.003e-05/0.1831, allocations: 0 / 0.9386 GB, free: 14.55 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001633/0.1833, allocations: 61.31 kB / 0.9387 GB, free: 14.48 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1833, allocations: 0 / 0.9387 GB, free: 14.48 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.1833, allocations: 0 / 0.9387 GB, free: 14.48 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.1833, allocations: 3.938 kB / 0.9387 GB, free: 14.48 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/0.1834, allocations: 120.6 kB / 0.9388 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1834, allocations: 0 / 0.9388 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.875e-05/0.1834, allocations: 4 kB / 0.9388 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.1834, allocations: 4 kB / 0.9388 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-06/0.1835, allocations: 4 kB / 0.9388 GB, free: 14.31 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1835, allocations: 0 / 0.9388 GB, free: 14.31 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1835, allocations: 0 / 0.9388 GB, free: 14.31 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00017/0.1836, allocations: 88.31 kB / 0.9389 GB, free: 14.2 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 3.469e-05/0.1837, allocations: 7.984 kB / 0.9389 GB, free: 14.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.086e-05/0.1837, allocations: 0 / 0.9389 GB, free: 14.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.739e-05/0.1837, allocations: 4 kB / 0.9389 GB, free: 14.19 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.544e-05/0.1837, allocations: 4 kB / 0.9389 GB, free: 14.19 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-06/0.1837, allocations: 3.984 kB / 0.9389 GB, free: 14.18 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 7.728e-05/0.1838, allocations: 127.5 kB / 0.939 GB, free: 14.06 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5e-08/0.1838, allocations: 0 / 0.939 GB, free: 14.06 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.00019/0.184, allocations: 11.94 kB / 0.9391 GB, free: 14.05 MB / 0.9011 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.0001921/0.1842, allocations: 119.2 kB / 0.9392 GB, free: 13.92 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0001564/0.1844, allocations: 31.73 kB / 0.9392 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.1844, allocations: 0 / 0.9392 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 4.616e-05/0.1844, allocations: 11.69 kB / 0.9392 GB, free: 13.87 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002025/0.1846, allocations: 22.39 kB / 0.9392 GB, free: 13.85 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000324/0.1849, allocations: 118.4 kB / 0.9393 GB, free: 13.71 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.245e-05/0.185, allocations: 63.2 kB / 0.9394 GB, free: 13.62 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 3.941e-05/0.185, allocations: 7.984 kB / 0.9394 GB, free: 13.62 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.647e-05/0.1851, allocations: 12.5 kB / 0.9394 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of SimCode: time 6.52e-07/0.1851, allocations: 3.938 kB / 0.9394 GB, free: 13.6 MB / 0.9011 GB Notification: Performance of Templates: time 0.003385/0.1884, allocations: 0.5487 MB / 0.94 GB, free: 13.07 MB / 0.9011 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 240] 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: 8.117626830004156]