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.001371/0.001371, allocations: 79.28 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001585/0.001585, allocations: 160.6 kB / 22.46 MB, free: 5.375 MB / 14.72 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.457/1.457, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.1 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.9/2.9, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 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.243e-06/1.243e-06, allocations: 0 / 0.9814 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.449e-05/2.573e-05, allocations: 5.375 kB / 0.9814 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002665/0.00269, allocations: 1.51 MB / 0.9829 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1503/0.153, allocations: 115.8 MB / 1.096 GB, free: 6.219 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.597e-05/0.1531, allocations: 4 kB / 1.096 GB, free: 6.215 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.889e-05/0.1531, allocations: 7.922 kB / 1.096 GB, free: 6.207 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.937e-05/0.1532, allocations: 7.875 kB / 1.096 GB, free: 6.199 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004003/0.1536, allocations: 59.73 kB / 1.096 GB, free: 6.141 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.1537, allocations: 63.7 kB / 1.096 GB, free: 6.078 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.397e-05/0.1538, allocations: 7.938 kB / 1.096 GB, free: 6.07 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.122e-05/0.1538, allocations: 31.97 kB / 1.096 GB, free: 6.039 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.687e-05/0.1539, allocations: 15.92 kB / 1.096 GB, free: 6.023 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.1539, allocations: 12 kB / 1.096 GB, free: 6.012 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.748e-05/0.154, allocations: 23.86 kB / 1.096 GB, free: 5.988 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.424e-05/0.154, allocations: 15.97 kB / 1.096 GB, free: 5.973 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.869e-05/0.1541, allocations: 11.94 kB / 1.096 GB, free: 5.961 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001557/0.1542, allocations: 67.78 kB / 1.096 GB, free: 5.895 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1542, allocations: 0 / 1.096 GB, free: 5.895 MB / 1.045 GB Notification: Performance of FrontEnd: time 9.01e-07/0.1542, allocations: 0 / 1.096 GB, free: 5.895 MB / 1.045 GB Notification: Performance of Transformations before backend: time 3.296e-06/0.1542, allocations: 0 / 1.096 GB, free: 5.895 MB / 1.045 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.0005407/0.1548, allocations: 298.1 kB / 1.097 GB, free: 5.57 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.1548, allocations: 16.03 kB / 1.097 GB, free: 5.555 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.006e-05/0.1548, allocations: 0.9375 kB / 1.097 GB, free: 5.555 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.1549, allocations: 113.7 kB / 1.097 GB, free: 5.418 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.155, allocations: 4.375 kB / 1.097 GB, free: 5.414 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.523e-05/0.155, allocations: 4.375 kB / 1.097 GB, free: 5.41 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002681/0.1552, allocations: 74.16 kB / 1.097 GB, free: 5.332 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.1552, allocations: 192 / 1.097 GB, free: 5.332 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.1553, allocations: 4.359 kB / 1.097 GB, free: 5.328 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.1553, allocations: 4.375 kB / 1.097 GB, free: 5.324 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003189/0.1556, allocations: 71.86 kB / 1.097 GB, free: 5.254 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003443/0.1559, allocations: 216.5 kB / 1.097 GB, free: 5.012 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000218/0.1561, allocations: 58.47 kB / 1.097 GB, free: 4.945 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/0.1563, allocations: 40.92 kB / 1.097 GB, free: 4.902 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001257/0.1564, allocations: 15.98 kB / 1.097 GB, free: 4.887 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.1565, allocations: 34.5 kB / 1.097 GB, free: 4.844 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1565, allocations: 0 / 1.097 GB, free: 4.844 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0005956/0.1571, allocations: 129.6 kB / 1.097 GB, free: 4.711 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.1571, allocations: 55.41 kB / 1.097 GB, free: 4.645 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.449e-05/0.1572, allocations: 113.7 kB / 1.098 GB, free: 4.523 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.1572, allocations: 29.7 kB / 1.098 GB, free: 4.488 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.63e-05/0.1573, allocations: 92.03 kB / 1.098 GB, free: 4.395 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/0.1573, allocations: 11.94 kB / 1.098 GB, free: 4.383 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.33e-05/0.1573, allocations: 13.72 kB / 1.098 GB, free: 4.363 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.1575, allocations: 318.8 kB / 1.098 GB, free: 4.043 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001662/0.1576, allocations: 35.95 kB / 1.098 GB, free: 4.008 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001528/0.1578, allocations: 39.91 kB / 1.098 GB, free: 3.969 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003031/0.1581, allocations: 64.78 kB / 1.098 GB, free: 3.902 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.1581, allocations: 0 / 1.098 GB, free: 3.902 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003698/0.1585, allocations: 109.5 kB / 1.098 GB, free: 3.789 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.1585, allocations: 8 kB / 1.098 GB, free: 3.781 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.1585, allocations: 0 / 1.098 GB, free: 3.781 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.1585, allocations: 0 / 1.098 GB, free: 3.781 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.1586, allocations: 19.97 kB / 1.098 GB, free: 3.762 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.1586, allocations: 0 / 1.098 GB, free: 3.762 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.247e-05/0.1587, allocations: 7.984 kB / 1.098 GB, free: 3.754 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-06/0.1587, allocations: 4 kB / 1.098 GB, free: 3.75 MB / 1.045 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 8.363e-05/0.1588, allocations: 113.8 kB / 1.098 GB, free: 3.629 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.058e-05/0.1588, allocations: 7.938 kB / 1.098 GB, free: 3.621 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003912/0.1592, allocations: 105.6 kB / 1.098 GB, free: 3.512 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1592, allocations: 0 / 1.098 GB, free: 3.512 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.1592, allocations: 0 / 1.098 GB, free: 3.512 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1592, allocations: 0 / 1.098 GB, free: 3.512 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000151/0.1594, allocations: 121.3 kB / 1.099 GB, free: 3.363 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.1594, allocations: 4 kB / 1.099 GB, free: 3.359 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.1595, allocations: 20.3 kB / 1.099 GB, free: 3.34 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1595, allocations: 0 / 1.099 GB, free: 3.34 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.1595, allocations: 3.938 kB / 1.099 GB, free: 3.336 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1595, allocations: 4 kB / 1.099 GB, free: 3.332 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1595, allocations: 0 / 1.099 GB, free: 3.332 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004075/0.1599, allocations: 195.5 kB / 1.099 GB, free: 3.125 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.074e-05/0.1599, allocations: 11.95 kB / 1.099 GB, free: 3.113 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.1599, allocations: 3.938 kB / 1.099 GB, free: 3.109 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.16, allocations: 11.98 kB / 1.099 GB, free: 3.098 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.953e-05/0.1601, allocations: 7.984 kB / 1.099 GB, free: 3.09 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.1601, allocations: 0 / 1.099 GB, free: 3.09 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.601e-05/0.1601, allocations: 87.59 kB / 1.099 GB, free: 3.004 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.1601, allocations: 0 / 1.099 GB, free: 3.004 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002472/0.1604, allocations: 23.92 kB / 1.099 GB, free: 2.98 MB / 1.045 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.000164/0.1606, allocations: 115.7 kB / 1.099 GB, free: 2.855 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000369/0.1609, allocations: 67.91 kB / 1.099 GB, free: 2.789 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1609, allocations: 3.938 kB / 1.099 GB, free: 2.785 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001661/0.1611, allocations: 31.97 kB / 1.099 GB, free: 2.754 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.1614, allocations: 14.34 kB / 1.099 GB, free: 2.742 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003582/0.1618, allocations: 148.6 kB / 1.099 GB, free: 2.57 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.268e-05/0.1618, allocations: 75.33 kB / 1.099 GB, free: 2.477 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.813e-05/0.1619, allocations: 0 / 1.099 GB, free: 2.477 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.244e-05/0.1619, allocations: 12.5 kB / 1.099 GB, free: 2.465 MB / 1.045 GB Notification: Performance of SimCode: time 3.41e-07/0.1619, allocations: 0 / 1.099 GB, free: 2.465 MB / 1.045 GB Notification: Performance of Templates: time 0.003821/0.1657, allocations: 1.01 MB / 1.1 GB, free: 1.48 MB / 1.045 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 400] 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.167729135602713]