Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002667/0.002667, allocations: 84.06 kB / 19.44 MB, free: 332 kB / 13.93 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.002583/0.002583, allocations: 165.7 kB / 22.76 MB, free: 1.656 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.543/1.543, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 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.396/3.396, allocations: 429.5 MB / 0.6729 GB, free: 4.008 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.8774 GB, free: 6.684 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.735e-05/3.893e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.68 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002745/0.002784, allocations: 1.316 MB / 0.8787 GB, free: 5.375 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1788/0.1816, allocations: 127.4 MB / 1.003 GB, free: 5.543 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.604e-05/0.1816, allocations: 4 kB / 1.003 GB, free: 5.539 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.824e-05/0.1817, allocations: 3.938 kB / 1.003 GB, free: 5.535 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.47e-05/0.1817, allocations: 7.922 kB / 1.003 GB, free: 5.527 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003557/0.1821, allocations: 47.75 kB / 1.003 GB, free: 5.48 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.322e-05/0.1821, allocations: 23.86 kB / 1.003 GB, free: 5.457 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.026e-05/0.1822, allocations: 4 kB / 1.003 GB, free: 5.453 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.358e-05/0.1822, allocations: 19.91 kB / 1.003 GB, free: 5.434 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.285e-05/0.1823, allocations: 7.984 kB / 1.003 GB, free: 5.426 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.1823, allocations: 0 / 1.003 GB, free: 5.426 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.8e-05/0.1824, allocations: 19.94 kB / 1.003 GB, free: 5.406 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.96e-05/0.1824, allocations: 7.984 kB / 1.003 GB, free: 5.398 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.162e-05/0.1824, allocations: 7.938 kB / 1.003 GB, free: 5.391 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001121/0.1825, allocations: 27.91 kB / 1.003 GB, free: 5.363 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.1825, allocations: 0 / 1.003 GB, free: 5.363 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1825, allocations: 0 / 1.003 GB, free: 5.363 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.1825, allocations: 0 / 1.003 GB, free: 5.363 MB / 0.9636 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.0004831/0.183, allocations: 360.2 kB / 1.004 GB, free: 4.973 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.1831, allocations: 8.031 kB / 1.004 GB, free: 4.965 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001795/0.1832, allocations: 24.86 kB / 1.004 GB, free: 4.941 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.1834, allocations: 112.6 kB / 1.004 GB, free: 4.805 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.128e-05/0.1835, allocations: 59.91 kB / 1.004 GB, free: 4.734 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.683e-06/0.1835, allocations: 384 / 1.004 GB, free: 4.734 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.1836, allocations: 38.25 kB / 1.004 GB, free: 4.691 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.1836, allocations: 192 / 1.004 GB, free: 4.691 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.1836, allocations: 4.375 kB / 1.004 GB, free: 4.688 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.1836, allocations: 8.109 kB / 1.004 GB, free: 4.68 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.461e-05/0.1837, allocations: 4 kB / 1.004 GB, free: 4.676 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001719/0.1838, allocations: 116.7 kB / 1.004 GB, free: 4.527 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.1839, allocations: 43 kB / 1.004 GB, free: 4.473 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.802e-05/0.184, allocations: 15.78 kB / 1.004 GB, free: 4.453 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.184, allocations: 3.984 kB / 1.004 GB, free: 4.449 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.184, allocations: 33.39 kB / 1.004 GB, free: 4.406 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.184, allocations: 0 / 1.004 GB, free: 4.406 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0002163/0.1843, allocations: 61.67 kB / 1.004 GB, free: 4.34 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.1843, allocations: 51.41 kB / 1.004 GB, free: 4.277 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.1844, allocations: 161.9 kB / 1.004 GB, free: 4.102 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.1844, allocations: 25.7 kB / 1.004 GB, free: 4.07 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.054e-05/0.1845, allocations: 134.8 kB / 1.005 GB, free: 3.934 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.588e-05/0.1845, allocations: 15.89 kB / 1.005 GB, free: 3.918 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.29e-05/0.1846, allocations: 27.27 kB / 1.005 GB, free: 3.883 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0004668/0.185, allocations: 496.1 kB / 1.005 GB, free: 3.387 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.759e-05/0.1851, allocations: 11.98 kB / 1.005 GB, free: 3.375 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.926e-05/0.1851, allocations: 4 kB / 1.005 GB, free: 3.371 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.557e-05/0.1852, allocations: 23.67 kB / 1.005 GB, free: 3.344 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1852, allocations: 0 / 1.005 GB, free: 3.344 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001208/0.1853, allocations: 49.69 kB / 1.005 GB, free: 3.289 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.1853, allocations: 4 kB / 1.005 GB, free: 3.285 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.1853, allocations: 0 / 1.005 GB, free: 3.285 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.1853, allocations: 0 / 1.005 GB, free: 3.285 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.02e-05/0.1854, allocations: 7.938 kB / 1.005 GB, free: 3.277 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.1854, allocations: 7.938 kB / 1.005 GB, free: 3.27 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.953e-05/0.1855, allocations: 4 kB / 1.005 GB, free: 3.266 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-06/0.1855, allocations: 4 kB / 1.005 GB, free: 3.262 MB / 0.9636 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.0001089/0.1856, allocations: 156.6 kB / 1.005 GB, free: 3.098 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.716e-06/0.1856, allocations: 4 kB / 1.005 GB, free: 3.094 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.81e-05/0.1856, allocations: 7.688 kB / 1.005 GB, free: 3.082 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.1856, allocations: 0 / 1.005 GB, free: 3.082 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.1856, allocations: 0 / 1.005 GB, free: 3.082 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.1856, allocations: 7.938 kB / 1.005 GB, free: 3.074 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001209/0.1857, allocations: 108.6 kB / 1.005 GB, free: 2.934 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1857, allocations: 8 kB / 1.005 GB, free: 2.926 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.021e-05/0.1858, allocations: 7.984 kB / 1.005 GB, free: 2.918 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.1858, allocations: 0 / 1.005 GB, free: 2.918 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.1858, allocations: 0 / 1.005 GB, free: 2.918 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1858, allocations: 0 / 1.005 GB, free: 2.918 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1858, allocations: 0 / 1.005 GB, free: 2.918 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001584/0.186, allocations: 88.31 kB / 1.006 GB, free: 2.809 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.21e-05/0.186, allocations: 7.953 kB / 1.006 GB, free: 2.801 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.186, allocations: 3.984 kB / 1.006 GB, free: 2.797 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.158e-05/0.186, allocations: 4.562 kB / 1.006 GB, free: 2.793 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.102e-05/0.1861, allocations: 0 / 1.006 GB, free: 2.793 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.1861, allocations: 8 kB / 1.006 GB, free: 2.785 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 7.198e-05/0.1861, allocations: 127.1 kB / 1.006 GB, free: 2.66 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.1861, allocations: 3.938 kB / 1.006 GB, free: 2.656 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001754/0.1863, allocations: 8 kB / 1.006 GB, free: 2.648 MB / 0.9636 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.0001198/0.1864, allocations: 98.47 kB / 1.006 GB, free: 2.547 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001359/0.1866, allocations: 27.67 kB / 1.006 GB, free: 2.516 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.1866, allocations: 0 / 1.006 GB, free: 2.516 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.139e-05/0.1866, allocations: 19.62 kB / 1.006 GB, free: 2.492 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001917/0.1868, allocations: 18.48 kB / 1.006 GB, free: 2.477 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003038/0.1871, allocations: 118.4 kB / 1.006 GB, free: 2.332 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.545e-05/0.1872, allocations: 67.2 kB / 1.006 GB, free: 2.246 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.917e-05/0.1872, allocations: 4 kB / 1.006 GB, free: 2.242 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.843e-05/0.1873, allocations: 8.5 kB / 1.006 GB, free: 2.234 MB / 0.9636 GB Notification: Performance of SimCode: time 4.51e-07/0.1873, allocations: 4 kB / 1.006 GB, free: 2.23 MB / 0.9636 GB Notification: Performance of Templates: time 0.003059/0.1903, allocations: 499.1 kB / 1.006 GB, free: 1.758 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.601496885996312]