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.001039/0.001039, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001233/0.001233, allocations: 173.4 kB / 23.36 MB, free: 1.133 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 0.9753/0.9753, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] 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 2.47/2.47, allocations: 438.8 MB / 0.6826 GB, free: 13.57 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.162e-06/1.162e-06, allocations: 0 / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.299e-05/1.416e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002383/0.002398, allocations: 1.594 MB / 0.8402 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.156/0.1584, allocations: 127.2 MB / 0.9644 GB, free: 12.89 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.118e-05/0.1585, allocations: 0 / 0.9644 GB, free: 12.89 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.186e-05/0.1585, allocations: 7.938 kB / 0.9644 GB, free: 12.88 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 5.083e-05/0.1585, allocations: 7.938 kB / 0.9644 GB, free: 12.88 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.000306/0.1588, allocations: 67.59 kB / 0.9644 GB, free: 12.81 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.792e-05/0.1589, allocations: 59.78 kB / 0.9645 GB, free: 12.75 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 9.032e-05/0.159, allocations: 7.984 kB / 0.9645 GB, free: 12.74 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 7.296e-05/0.1591, allocations: 31.92 kB / 0.9645 GB, free: 12.71 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.758e-05/0.1591, allocations: 19.95 kB / 0.9645 GB, free: 12.69 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.1591, allocations: 4 kB / 0.9645 GB, free: 12.69 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.1592, allocations: 19.94 kB / 0.9646 GB, free: 12.67 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.683e-05/0.1593, allocations: 11.98 kB / 0.9646 GB, free: 12.66 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.963e-05/0.1593, allocations: 15.94 kB / 0.9646 GB, free: 12.64 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001267/0.1594, allocations: 51.81 kB / 0.9646 GB, free: 12.59 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1594, allocations: 3.938 kB / 0.9646 GB, free: 12.59 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1594, allocations: 0 / 0.9646 GB, free: 12.59 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.1594, allocations: 4 kB / 0.9647 GB, free: 12.58 MB / 0.9323 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.0002935/0.1597, allocations: 264.4 kB / 0.9649 GB, free: 12.3 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.1597, allocations: 12.62 kB / 0.9649 GB, free: 12.29 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001247/0.1599, allocations: 24.81 kB / 0.9649 GB, free: 12.26 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.448e-05/0.1599, allocations: 113.7 kB / 0.965 GB, free: 12.12 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.16, allocations: 4.375 kB / 0.9651 GB, free: 12.12 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.523e-06/0.16, allocations: 4.375 kB / 0.9651 GB, free: 12.12 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.1601, allocations: 74.91 kB / 0.9651 GB, free: 12.04 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.1601, allocations: 192 / 0.9651 GB, free: 12.04 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.1601, allocations: 4.359 kB / 0.9651 GB, free: 12.03 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.1601, allocations: 4.312 kB / 0.9651 GB, free: 12.03 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.311e-05/0.1601, allocations: 11.94 kB / 0.9651 GB, free: 12.02 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002256/0.1603, allocations: 164.2 kB / 0.9653 GB, free: 11.84 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 5.071e-05/0.1604, allocations: 30.56 kB / 0.9653 GB, free: 11.8 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.421e-05/0.1604, allocations: 8.797 kB / 0.9653 GB, free: 11.79 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 7.844e-06/0.1604, allocations: 4 kB / 0.9653 GB, free: 11.79 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.1604, allocations: 34.56 kB / 0.9654 GB, free: 11.74 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=3): time 7.91e-07/0.1604, allocations: 0 / 0.9654 GB, free: 11.74 MB / 0.9323 GB Notification: Performance of matching and sorting (n=3): time 0.0001041/0.1605, allocations: 45.72 kB / 0.9654 GB, free: 11.69 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.514e-05/0.1606, allocations: 51.41 kB / 0.9655 GB, free: 11.63 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.403e-05/0.1606, allocations: 118.8 kB / 0.9656 GB, free: 11.5 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 9.057e-06/0.1606, allocations: 25.7 kB / 0.9656 GB, free: 11.47 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 2.679e-05/0.1606, allocations: 96.02 kB / 0.9657 GB, free: 11.37 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 1.752e-05/0.1607, allocations: 15.89 kB / 0.9657 GB, free: 11.36 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.3e-05/0.1607, allocations: 13.72 kB / 0.9657 GB, free: 11.34 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6.567e-05/0.1608, allocations: 314.8 kB / 0.966 GB, free: 11.02 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.024e-05/0.1608, allocations: 4 kB / 0.966 GB, free: 11.02 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.169e-05/0.1608, allocations: 3.984 kB / 0.966 GB, free: 11.01 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.154e-05/0.1608, allocations: 12.86 kB / 0.966 GB, free: 11 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1608, allocations: 0 / 0.966 GB, free: 11 MB / 0.9323 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.504e-05/0.1608, allocations: 41.69 kB / 0.9661 GB, free: 10.95 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 9.588e-06/0.1609, allocations: 4 kB / 0.9661 GB, free: 10.95 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1609, allocations: 7.875 kB / 0.9661 GB, free: 10.94 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.1609, allocations: 4 kB / 0.9661 GB, free: 10.93 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.412e-05/0.1609, allocations: 15.92 kB / 0.9661 GB, free: 10.92 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.964e-06/0.1609, allocations: 0 / 0.9661 GB, free: 10.92 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.389e-05/0.1609, allocations: 7.984 kB / 0.9661 GB, free: 10.91 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.161, allocations: 4 kB / 0.9661 GB, free: 10.91 MB / 0.9323 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 4.783e-05/0.161, allocations: 109.8 kB / 0.9662 GB, free: 10.79 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.559e-05/0.161, allocations: 4 kB / 0.9662 GB, free: 10.79 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.719e-05/0.161, allocations: 11.94 kB / 0.9663 GB, free: 10.78 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.161, allocations: 0 / 0.9663 GB, free: 10.78 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.161, allocations: 0 / 0.9663 GB, free: 10.78 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.161, allocations: 4 kB / 0.9663 GB, free: 10.77 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.625e-05/0.1611, allocations: 73.88 kB / 0.9663 GB, free: 10.68 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.1611, allocations: 4 kB / 0.9663 GB, free: 10.68 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.71e-05/0.1611, allocations: 11.98 kB / 0.9663 GB, free: 10.67 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.1611, allocations: 336 / 0.9663 GB, free: 10.67 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.747e-06/0.1611, allocations: 0 / 0.9663 GB, free: 10.67 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.9e-07/0.1611, allocations: 0 / 0.9663 GB, free: 10.67 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1612, allocations: 3.938 kB / 0.9663 GB, free: 10.66 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.423e-05/0.1612, allocations: 139.5 kB / 0.9665 GB, free: 10.51 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 9.408e-06/0.1612, allocations: 11.94 kB / 0.9665 GB, free: 10.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.654e-06/0.1612, allocations: 8 kB / 0.9665 GB, free: 10.49 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.854e-05/0.1613, allocations: 8 kB / 0.9665 GB, free: 10.48 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.977e-05/0.1613, allocations: 7.922 kB / 0.9665 GB, free: 10.48 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-06/0.1613, allocations: 0 / 0.9665 GB, free: 10.48 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 1.172e-05/0.1613, allocations: 17.22 kB / 0.9665 GB, free: 10.46 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5e-08/0.1613, allocations: 0 / 0.9665 GB, free: 10.46 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0001181/0.1614, allocations: 12 kB / 0.9665 GB, free: 10.45 MB / 0.9323 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 7.438e-05/0.1615, allocations: 80.41 kB / 0.9666 GB, free: 10.36 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 5.761e-05/0.1616, allocations: 16.8 kB / 0.9666 GB, free: 10.34 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1616, allocations: 4 kB / 0.9666 GB, free: 10.34 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 1.678e-05/0.1616, allocations: 12.86 kB / 0.9666 GB, free: 10.32 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.1617, allocations: 12.27 kB / 0.9667 GB, free: 10.31 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004108/0.1621, allocations: 176.3 kB / 0.9668 GB, free: 10.11 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.604e-05/0.1622, allocations: 55.36 kB / 0.9669 GB, free: 10.04 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 2.636e-05/0.1622, allocations: 7.938 kB / 0.9669 GB, free: 10.03 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.553e-05/0.1623, allocations: 59.36 kB / 0.9669 GB, free: 9.969 MB / 0.9323 GB Notification: Performance of SimCode: time 5.71e-07/0.1623, allocations: 0 / 0.9669 GB, free: 9.969 MB / 0.9323 GB Notification: Performance of Templates: time 0.002107/0.1644, allocations: 0.9217 MB / 0.9678 GB, free: 9.062 MB / 0.9323 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 -s gbode -gbm=radauIIA3 -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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.424416974186897]