Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002427/0.002427, allocations: 83.69 kB / 20.23 MB, free: 4.188 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.002814/0.002814, 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.537/1.537, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.903/2.903, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.013e-05/3.177e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002879/0.002911, allocations: 1.516 MB / 0.7878 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1778/0.1807, allocations: 127.4 MB / 0.9123 GB, free: 11.46 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.65e-05/0.1808, allocations: 4 kB / 0.9123 GB, free: 11.46 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 3.195e-05/0.1808, allocations: 3.938 kB / 0.9123 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 8.042e-05/0.1809, allocations: 11.75 kB / 0.9123 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003798/0.1812, allocations: 59.73 kB / 0.9124 GB, free: 11.39 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.1814, allocations: 51.78 kB / 0.9124 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.068e-05/0.1814, allocations: 15.98 kB / 0.9124 GB, free: 11.32 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.258e-05/0.1815, allocations: 31.91 kB / 0.9125 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.432e-05/0.1816, allocations: 23.97 kB / 0.9125 GB, free: 11.27 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.1816, allocations: 4 kB / 0.9125 GB, free: 11.26 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.1817, allocations: 27.81 kB / 0.9125 GB, free: 11.23 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 3.156e-05/0.1818, allocations: 11.98 kB / 0.9125 GB, free: 11.22 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 3.896e-05/0.1818, allocations: 15.92 kB / 0.9125 GB, free: 11.21 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.000172/0.182, allocations: 59.86 kB / 0.9126 GB, free: 11.15 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.182, allocations: 0 / 0.9126 GB, free: 11.15 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.142e-06/0.182, allocations: 0 / 0.9126 GB, free: 11.15 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.182, allocations: 0 / 0.9126 GB, free: 11.15 MB / 0.8698 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.0005772/0.1826, allocations: 392.1 kB / 0.913 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.1826, allocations: 12.03 kB / 0.913 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.048e-05/0.1826, allocations: 4.938 kB / 0.913 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.1828, allocations: 132.4 kB / 0.9131 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.1828, allocations: 384 / 0.9131 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.1828, allocations: 4.375 kB / 0.9131 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002091/0.183, allocations: 58.23 kB / 0.9132 GB, free: 10.49 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.183, allocations: 192 / 0.9132 GB, free: 10.49 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.183, allocations: 4.375 kB / 0.9132 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.183, allocations: 384 / 0.9132 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000191/0.1832, allocations: 47.91 kB / 0.9132 GB, free: 10.44 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004363/0.1837, allocations: 283.7 kB / 0.9135 GB, free: 10.12 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/0.1839, allocations: 55.05 kB / 0.9135 GB, free: 10.06 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.184, allocations: 27.77 kB / 0.9136 GB, free: 10.03 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001425/0.1841, allocations: 15.98 kB / 0.9136 GB, free: 10.01 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.223e-05/0.1841, allocations: 37.33 kB / 0.9136 GB, free: 9.965 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1841, allocations: 0 / 0.9136 GB, free: 9.965 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0004316/0.1846, allocations: 105.6 kB / 0.9137 GB, free: 9.855 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.686e-05/0.1846, allocations: 51.41 kB / 0.9138 GB, free: 9.793 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.1848, allocations: 177.9 kB / 0.9139 GB, free: 9.602 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.1848, allocations: 25.7 kB / 0.914 GB, free: 9.57 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 9.326e-05/0.1849, allocations: 146.8 kB / 0.9141 GB, free: 9.422 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.567e-05/0.1849, allocations: 11.95 kB / 0.9141 GB, free: 9.41 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.053e-05/0.185, allocations: 15.38 kB / 0.9141 GB, free: 9.387 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002576/0.1852, allocations: 0.4884 MB / 0.9146 GB, free: 8.887 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.1853, allocations: 23.97 kB / 0.9146 GB, free: 8.863 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.761e-05/0.1854, allocations: 19.98 kB / 0.9147 GB, free: 8.844 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001938/0.1856, allocations: 51.88 kB / 0.9147 GB, free: 8.789 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1856, allocations: 4 kB / 0.9147 GB, free: 8.785 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002392/0.1858, allocations: 81.55 kB / 0.9148 GB, free: 8.699 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.1859, allocations: 8 kB / 0.9148 GB, free: 8.691 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.1859, allocations: 0 / 0.9148 GB, free: 8.691 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.1859, allocations: 0 / 0.9148 GB, free: 8.691 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.533e-05/0.186, allocations: 11.98 kB / 0.9148 GB, free: 8.68 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.186, allocations: 4 kB / 0.9148 GB, free: 8.676 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.359e-05/0.186, allocations: 11.98 kB / 0.9148 GB, free: 8.664 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.186, allocations: 0 / 0.9148 GB, free: 8.664 MB / 0.8698 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.0001152/0.1861, allocations: 156.6 kB / 0.915 GB, free: 8.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.305e-05/0.1862, allocations: 11.89 kB / 0.915 GB, free: 8.488 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002774/0.1865, allocations: 93.52 kB / 0.9151 GB, free: 8.391 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1865, allocations: 0 / 0.9151 GB, free: 8.391 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1865, allocations: 0 / 0.9151 GB, free: 8.391 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1865, allocations: 0 / 0.9151 GB, free: 8.391 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000184/0.1867, allocations: 136.6 kB / 0.9152 GB, free: 8.223 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1867, allocations: 0 / 0.9152 GB, free: 8.223 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.826e-05/0.1867, allocations: 8 kB / 0.9152 GB, free: 8.215 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.1867, allocations: 0 / 0.9152 GB, free: 8.215 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.1867, allocations: 3.938 kB / 0.9152 GB, free: 8.211 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.1867, allocations: 4 kB / 0.9152 GB, free: 8.207 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1867, allocations: 4 kB / 0.9152 GB, free: 8.203 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003224/0.1871, allocations: 227.8 kB / 0.9154 GB, free: 7.961 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.139e-05/0.1871, allocations: 3.953 kB / 0.9154 GB, free: 7.957 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.1871, allocations: 11.94 kB / 0.9155 GB, free: 7.945 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.856e-05/0.1872, allocations: 7.984 kB / 0.9155 GB, free: 7.938 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.618e-05/0.1872, allocations: 3.984 kB / 0.9155 GB, free: 7.934 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-06/0.1872, allocations: 0 / 0.9155 GB, free: 7.934 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 8.31e-05/0.1873, allocations: 131.2 kB / 0.9156 GB, free: 7.805 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.1873, allocations: 0 / 0.9156 GB, free: 7.805 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002433/0.1875, allocations: 19.94 kB / 0.9156 GB, free: 7.785 MB / 0.8698 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.0001959/0.1877, allocations: 111.2 kB / 0.9157 GB, free: 7.668 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002604/0.188, allocations: 59.64 kB / 0.9158 GB, free: 7.605 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.188, allocations: 0 / 0.9158 GB, free: 7.605 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.1881, allocations: 35.61 kB / 0.9158 GB, free: 7.566 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/0.1884, allocations: 11.98 kB / 0.9158 GB, free: 7.555 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004099/0.1888, allocations: 154.1 kB / 0.916 GB, free: 7.375 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.888e-05/0.1889, allocations: 71.33 kB / 0.916 GB, free: 7.285 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.97e-05/0.1889, allocations: 4 kB / 0.916 GB, free: 7.281 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.499e-05/0.189, allocations: 8.5 kB / 0.916 GB, free: 7.273 MB / 0.8698 GB Notification: Performance of SimCode: time 4.71e-07/0.189, allocations: 0 / 0.916 GB, free: 7.273 MB / 0.8698 GB Notification: Performance of Templates: time 0.004447/0.1934, allocations: 1.023 MB / 0.917 GB, free: 6.277 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.066417644033208]