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.00256/0.00256, allocations: 85.48 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.00317/0.00317, allocations: 169.2 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.57/1.57, allocations: 177.1 MB / 203.1 MB, free: 5.594 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.454/3.454, allocations: 429.5 MB / 0.6729 GB, free: 4.016 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.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: Performance of FrontEnd - loaded program: time 1.634e-06/1.634e-06, allocations: 0 / 0.8774 GB, free: 6.68 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.037e-05/3.2e-05, allocations: 4.984 kB / 0.8774 GB, free: 6.676 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.003112/0.003144, allocations: 1.518 MB / 0.8789 GB, free: 5.172 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1783/0.1814, allocations: 127.4 MB / 1.003 GB, free: 5.273 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.049e-05/0.1815, allocations: 4 kB / 1.003 GB, free: 5.27 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.067e-05/0.1815, allocations: 3.938 kB / 1.003 GB, free: 5.266 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.424e-05/0.1816, allocations: 7.875 kB / 1.003 GB, free: 5.258 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003642/0.1819, allocations: 67.72 kB / 1.003 GB, free: 5.191 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.182, allocations: 55.78 kB / 1.003 GB, free: 5.137 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 7.957e-05/0.1821, allocations: 11.98 kB / 1.004 GB, free: 5.125 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.718e-05/0.1822, allocations: 27.92 kB / 1.004 GB, free: 5.098 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.887e-05/0.1823, allocations: 19.97 kB / 1.004 GB, free: 5.078 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.1823, allocations: 8 kB / 1.004 GB, free: 5.07 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.1824, allocations: 23.81 kB / 1.004 GB, free: 5.047 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.101e-05/0.1824, allocations: 15.97 kB / 1.004 GB, free: 5.031 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.134e-05/0.1824, allocations: 15.94 kB / 1.004 GB, free: 5.016 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001591/0.1826, allocations: 59.84 kB / 1.004 GB, free: 4.957 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1826, allocations: 0 / 1.004 GB, free: 4.957 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.223e-06/0.1826, allocations: 0 / 1.004 GB, free: 4.957 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.379e-06/0.1826, allocations: 0 / 1.004 GB, free: 4.957 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005674/0.1832, allocations: 396 kB / 1.004 GB, free: 4.531 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.1832, allocations: 12.03 kB / 1.004 GB, free: 4.52 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001837/0.1834, allocations: 28.81 kB / 1.004 GB, free: 4.492 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.1835, allocations: 116.5 kB / 1.004 GB, free: 4.352 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.1835, allocations: 384 / 1.004 GB, free: 4.352 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-06/0.1835, allocations: 4.375 kB / 1.004 GB, free: 4.348 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.1837, allocations: 62.23 kB / 1.004 GB, free: 4.281 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.1837, allocations: 192 / 1.004 GB, free: 4.281 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.1837, allocations: 384 / 1.004 GB, free: 4.281 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.1837, allocations: 384 / 1.004 GB, free: 4.281 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002079/0.1839, allocations: 55.89 kB / 1.004 GB, free: 4.227 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004586/0.1844, allocations: 291.6 kB / 1.005 GB, free: 3.906 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.1846, allocations: 51.05 kB / 1.005 GB, free: 3.844 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.1847, allocations: 27.77 kB / 1.005 GB, free: 3.812 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/0.1847, allocations: 0 / 1.005 GB, free: 3.812 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.231e-05/0.1847, allocations: 45.33 kB / 1.005 GB, free: 3.758 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.1847, allocations: 0 / 1.005 GB, free: 3.758 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0004155/0.1851, allocations: 105.6 kB / 1.005 GB, free: 3.648 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.1852, allocations: 51.41 kB / 1.005 GB, free: 3.586 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/0.1853, allocations: 177.9 kB / 1.005 GB, free: 3.395 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.1854, allocations: 25.7 kB / 1.005 GB, free: 3.363 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 8.788e-05/0.1855, allocations: 138.8 kB / 1.005 GB, free: 3.223 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.121e-05/0.1855, allocations: 12 kB / 1.005 GB, free: 3.211 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.814e-05/0.1855, allocations: 23.38 kB / 1.005 GB, free: 3.18 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0004839/0.186, allocations: 496.1 kB / 1.006 GB, free: 2.684 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.903e-05/0.1861, allocations: 19.98 kB / 1.006 GB, free: 2.664 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.232e-05/0.1862, allocations: 23.98 kB / 1.006 GB, free: 2.641 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001744/0.1864, allocations: 51.88 kB / 1.006 GB, free: 2.586 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1864, allocations: 4 kB / 1.006 GB, free: 2.582 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002385/0.1866, allocations: 85.53 kB / 1.006 GB, free: 2.492 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.1866, allocations: 8 kB / 1.006 GB, free: 2.484 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1866, allocations: 0 / 1.006 GB, free: 2.484 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.1866, allocations: 0 / 1.006 GB, free: 2.484 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.1867, allocations: 15.98 kB / 1.006 GB, free: 2.469 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.1867, allocations: 0 / 1.006 GB, free: 2.469 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.008e-05/0.1868, allocations: 11.94 kB / 1.006 GB, free: 2.457 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.1868, allocations: 0 / 1.006 GB, free: 2.457 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.0001176/0.1869, allocations: 156.6 kB / 1.006 GB, free: 2.293 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.217e-05/0.187, allocations: 7.938 kB / 1.006 GB, free: 2.285 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.029e-05/0.187, allocations: 11.98 kB / 1.006 GB, free: 2.273 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.187, allocations: 0 / 1.006 GB, free: 2.273 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.187, allocations: 0 / 1.006 GB, free: 2.273 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.187, allocations: 3.938 kB / 1.006 GB, free: 2.27 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.1872, allocations: 136.6 kB / 1.006 GB, free: 2.102 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.1872, allocations: 4 kB / 1.006 GB, free: 2.098 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.47e-05/0.1873, allocations: 11.98 kB / 1.006 GB, free: 2.086 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.1873, allocations: 0 / 1.006 GB, free: 2.086 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.1873, allocations: 3.938 kB / 1.006 GB, free: 2.082 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1873, allocations: 0 / 1.006 GB, free: 2.082 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1873, allocations: 0 / 1.006 GB, free: 2.082 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003232/0.1876, allocations: 231.9 kB / 1.006 GB, free: 1.836 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.191e-05/0.1876, allocations: 3.953 kB / 1.006 GB, free: 1.832 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.1876, allocations: 11.94 kB / 1.006 GB, free: 1.82 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.144e-05/0.1877, allocations: 4 kB / 1.006 GB, free: 1.816 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.801e-05/0.1878, allocations: 7.984 kB / 1.006 GB, free: 1.809 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.1878, allocations: 0 / 1.006 GB, free: 1.809 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 8.989e-05/0.1878, allocations: 139.1 kB / 1.007 GB, free: 1.672 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.1878, allocations: 0 / 1.007 GB, free: 1.672 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002143/0.1881, allocations: 12 kB / 1.007 GB, free: 1.66 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.0001173/0.1882, allocations: 91.25 kB / 1.007 GB, free: 1.559 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000245/0.1884, allocations: 55.66 kB / 1.007 GB, free: 1.5 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.1884, allocations: 0 / 1.007 GB, free: 1.5 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.1885, allocations: 39.66 kB / 1.007 GB, free: 1.457 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003382/0.1889, allocations: 11.34 kB / 1.007 GB, free: 1.449 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003716/0.1892, allocations: 150.1 kB / 1.007 GB, free: 1.273 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.696e-05/0.1893, allocations: 71.2 kB / 1.007 GB, free: 1.184 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.788e-05/0.1894, allocations: 4.281 kB / 1.007 GB, free: 1.18 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.383e-05/0.1894, allocations: 16.48 kB / 1.007 GB, free: 1.16 MB / 0.9636 GB Notification: Performance of SimCode: time 6.02e-07/0.1894, allocations: 0 / 1.007 GB, free: 1.16 MB / 0.9636 GB Notification: Performance of Templates: time 0.003912/0.1933, allocations: 0.9564 MB / 1.008 GB, free: 236 kB / 0.9636 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 240] 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: 8.651621111901477]