Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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.0009501/0.0009501, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001698/0.001698, allocations: 181 kB / 24.09 MB, free: 420 kB / 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.9547/0.9547, allocations: 177.1 MB / 204.5 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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 1.82/1.82, allocations: 359 MB / 0.6055 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] 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.MassFraction_pTphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masFra1.phi|masFra1.X.[0-9,]+.|masFra2.X.[0-9,]+.|masFra1.T",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") translateModel(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masFra1.phi|masFra1.X.[0-9,]+.|masFra2.X.[0-9,]+.|masFra1.T",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 0.7875 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.738e-05/2.95e-05, allocations: 3.062 kB / 0.7875 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003029/0.003058, allocations: 1.676 MB / 0.7892 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1623/0.1654, allocations: 144.7 MB / 0.9305 GB, free: 9.371 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.1655, allocations: 3.938 kB / 0.9305 GB, free: 9.367 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0001502/0.1656, allocations: 15.8 kB / 0.9305 GB, free: 9.352 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0002247/0.1659, allocations: 47.64 kB / 0.9305 GB, free: 9.305 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.000243/0.1661, allocations: 155.2 kB / 0.9307 GB, free: 9.152 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.1663, allocations: 131.5 kB / 0.9308 GB, free: 9.023 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.1664, allocations: 21.58 kB / 0.9308 GB, free: 9 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007971/0.1672, allocations: 254.2 kB / 0.9311 GB, free: 8.828 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 4.418e-05/0.1672, allocations: 35.89 kB / 0.9311 GB, free: 8.793 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.1672, allocations: 8 kB / 0.9311 GB, free: 8.785 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000238/0.1675, allocations: 175.5 kB / 0.9313 GB, free: 8.613 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 3.782e-05/0.1675, allocations: 27.91 kB / 0.9313 GB, free: 8.586 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 2.827e-05/0.1675, allocations: 23.94 kB / 0.9313 GB, free: 8.562 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.000229/0.1678, allocations: 183.4 kB / 0.9315 GB, free: 8.383 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1678, allocations: 4 kB / 0.9315 GB, free: 8.379 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1678, allocations: 7.938 kB / 0.9315 GB, free: 8.371 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.1678, allocations: 0 / 0.9315 GB, free: 8.371 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0003886/0.1682, allocations: 459.8 kB / 0.932 GB, free: 7.887 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.1682, allocations: 12.03 kB / 0.932 GB, free: 7.875 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000488/0.1687, allocations: 103.8 kB / 0.9321 GB, free: 7.773 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.1688, allocations: 151.9 kB / 0.9322 GB, free: 7.598 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-06/0.1689, allocations: 8 kB / 0.9322 GB, free: 7.59 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.1689, allocations: 8 kB / 0.9322 GB, free: 7.582 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.1691, allocations: 126.2 kB / 0.9324 GB, free: 7.449 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.1691, allocations: 0 / 0.9324 GB, free: 7.449 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.1691, allocations: 0 / 0.9324 GB, free: 7.449 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.1691, allocations: 7.938 kB / 0.9324 GB, free: 7.441 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.05e-05/0.1691, allocations: 34.08 kB / 0.9324 GB, free: 7.41 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004029/0.1695, allocations: 352 kB / 0.9327 GB, free: 7.039 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.1697, allocations: 91.2 kB / 0.9328 GB, free: 6.938 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.399e-05/0.1698, allocations: 35.66 kB / 0.9328 GB, free: 6.898 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.1698, allocations: 3.984 kB / 0.9329 GB, free: 6.895 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.1698, allocations: 45.27 kB / 0.9329 GB, free: 6.84 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=8): time 1.173e-06/0.1698, allocations: 0 / 0.9329 GB, free: 6.84 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8): time 0.000165/0.17, allocations: 89.62 kB / 0.933 GB, free: 6.746 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.143e-05/0.17, allocations: 51.41 kB / 0.933 GB, free: 6.684 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.463e-05/0.1701, allocations: 191.8 kB / 0.9332 GB, free: 6.48 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.837e-05/0.1701, allocations: 25.7 kB / 0.9332 GB, free: 6.449 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.378e-05/0.1702, allocations: 146.8 kB / 0.9334 GB, free: 6.301 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/0.1702, allocations: 35.86 kB / 0.9334 GB, free: 6.266 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.553e-05/0.1702, allocations: 31.36 kB / 0.9334 GB, free: 6.227 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.1703, allocations: 0.4884 MB / 0.9339 GB, free: 5.727 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.47e-05/0.1704, allocations: 11.98 kB / 0.9339 GB, free: 5.715 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.232e-05/0.1704, allocations: 11.98 kB / 0.9339 GB, free: 5.703 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.262e-05/0.1704, allocations: 47.59 kB / 0.934 GB, free: 5.652 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.1704, allocations: 0 / 0.934 GB, free: 5.652 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.681e-05/0.1705, allocations: 78.05 kB / 0.9341 GB, free: 5.57 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.1705, allocations: 8 kB / 0.9341 GB, free: 5.562 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.1705, allocations: 80 / 0.9341 GB, free: 5.562 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.1705, allocations: 3.984 kB / 0.9341 GB, free: 5.559 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.542e-05/0.1706, allocations: 19.98 kB / 0.9341 GB, free: 5.539 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.1706, allocations: 3.984 kB / 0.9341 GB, free: 5.535 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.089e-05/0.1707, allocations: 15.92 kB / 0.9341 GB, free: 5.52 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.1707, allocations: 4 kB / 0.9341 GB, free: 5.516 MB / 0.8855 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 (8): * Single equations (assignments): 8 * 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 6.452e-05/0.1708, allocations: 156.6 kB / 0.9343 GB, free: 5.352 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.255e-05/0.1708, allocations: 23.78 kB / 0.9343 GB, free: 5.328 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.339e-05/0.1708, allocations: 12.78 kB / 0.9343 GB, free: 5.32 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1708, allocations: 4 kB / 0.9343 GB, free: 5.316 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.1708, allocations: 0 / 0.9343 GB, free: 5.316 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1708, allocations: 3.984 kB / 0.9343 GB, free: 5.312 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002725/0.1711, allocations: 349.8 kB / 0.9346 GB, free: 4.938 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.1711, allocations: 3.938 kB / 0.9346 GB, free: 4.934 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.022e-05/0.1711, allocations: 19.98 kB / 0.9347 GB, free: 4.914 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1712, allocations: 0 / 0.9347 GB, free: 4.914 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.906e-06/0.1712, allocations: 7.984 kB / 0.9347 GB, free: 4.906 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.1712, allocations: 4 kB / 0.9347 GB, free: 4.902 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1712, allocations: 0 / 0.9347 GB, free: 4.902 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001221/0.1713, allocations: 231.8 kB / 0.9349 GB, free: 4.656 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 8.136e-06/0.1713, allocations: 11.89 kB / 0.9349 GB, free: 4.645 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.1713, allocations: 4 kB / 0.9349 GB, free: 4.641 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.341e-05/0.1714, allocations: 7.984 kB / 0.9349 GB, free: 4.633 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.387e-05/0.1714, allocations: 19.91 kB / 0.9349 GB, free: 4.613 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.1714, allocations: 0 / 0.9349 GB, free: 4.613 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001166/0.1715, allocations: 143.2 kB / 0.9351 GB, free: 4.473 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4e-08/0.1715, allocations: 0 / 0.9351 GB, free: 4.473 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001574/0.1717, allocations: 27.94 kB / 0.9351 GB, free: 4.445 MB / 0.8855 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 (8): * Single equations (assignments): 8 * 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.0001291/0.1718, allocations: 115.2 kB / 0.9352 GB, free: 4.32 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 8.975e-05/0.1719, allocations: 47.66 kB / 0.9353 GB, free: 4.27 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.1719, allocations: 0 / 0.9353 GB, free: 4.27 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 4.202e-05/0.1719, allocations: 35.59 kB / 0.9353 GB, free: 4.23 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/0.1722, allocations: 42.2 kB / 0.9353 GB, free: 4.191 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004932/0.1726, allocations: 229.8 kB / 0.9356 GB, free: 3.941 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.461e-05/0.1727, allocations: 63.34 kB / 0.9356 GB, free: 3.859 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 6.092e-05/0.1727, allocations: 20.66 kB / 0.9356 GB, free: 3.84 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.791e-05/0.1728, allocations: 94.17 kB / 0.9357 GB, free: 3.746 MB / 0.8855 GB Notification: Performance of SimCode: time 5.01e-07/0.1728, allocations: 0 / 0.9357 GB, free: 3.746 MB / 0.8855 GB Notification: Performance of Templates: time 0.003451/0.1763, allocations: 2.151 MB / 0.9378 GB, free: 1.625 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.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.119236757047474]