Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001449/0.001449, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001805/0.001805, allocations: 163.2 kB / 24.86 MB, free: 8.871 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.9804/0.9804, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] 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 1.919/1.919, allocations: 377.9 MB / 0.6247 GB, free: 8.441 MB / 0.5886 GB " [Timeout remaining time 177] 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.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_12_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_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.8128 GB, free: 1.469 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.611e-05/2.769e-05, allocations: 5.547 kB / 0.8128 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.006379/0.006406, allocations: 1.671 MB / 0.8144 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1437/0.1501, allocations: 144.7 MB / 0.9557 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.1502, allocations: 0 / 0.9557 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0001283/0.1503, allocations: 15.8 kB / 0.9557 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0002207/0.1506, allocations: 51.58 kB / 0.9558 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003642/0.1509, allocations: 151.3 kB / 0.9559 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.000158/0.1511, allocations: 127.5 kB / 0.956 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 9.601e-05/0.1512, allocations: 25.58 kB / 0.9561 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009922/0.1522, allocations: 258.4 kB / 0.9563 GB, free: 14.06 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 5.281e-05/0.1522, allocations: 35.89 kB / 0.9563 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.1522, allocations: 8 kB / 0.9564 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002748/0.1525, allocations: 167.6 kB / 0.9565 GB, free: 13.85 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 3.573e-05/0.1526, allocations: 31.91 kB / 0.9565 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 3.239e-05/0.1526, allocations: 27.92 kB / 0.9566 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0002608/0.1528, allocations: 187.3 kB / 0.9567 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.1529, allocations: 0 / 0.9567 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1529, allocations: 0 / 0.9567 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.1529, allocations: 4 kB / 0.9568 GB, free: 13.61 MB / 0.9167 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.0003448/0.1532, allocations: 459.8 kB / 0.9572 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 2.95e-05/0.1532, allocations: 8.031 kB / 0.9572 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004995/0.1537, allocations: 111.7 kB / 0.9573 GB, free: 13 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.1539, allocations: 151.8 kB / 0.9574 GB, free: 12.83 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.035e-06/0.1539, allocations: 4 kB / 0.9575 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.1539, allocations: 8 kB / 0.9575 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.1541, allocations: 118.3 kB / 0.9576 GB, free: 12.69 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.899e-06/0.1541, allocations: 0 / 0.9576 GB, free: 12.69 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.1541, allocations: 0 / 0.9576 GB, free: 12.69 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.1541, allocations: 0 / 0.9576 GB, free: 12.69 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.619e-05/0.1542, allocations: 47.12 kB / 0.9576 GB, free: 12.65 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003932/0.1546, allocations: 352 kB / 0.958 GB, free: 12.28 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001825/0.1548, allocations: 95.12 kB / 0.958 GB, free: 12.17 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.779e-05/0.1548, allocations: 39.64 kB / 0.9581 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.1548, allocations: 0 / 0.9581 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.1548, allocations: 41.33 kB / 0.9581 GB, free: 12.08 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=8): time 7.52e-07/0.1548, allocations: 0 / 0.9581 GB, free: 12.08 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8): time 0.0001622/0.155, allocations: 89.56 kB / 0.9582 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.577e-05/0.155, allocations: 51.41 kB / 0.9583 GB, free: 11.92 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.04e-05/0.1551, allocations: 200.2 kB / 0.9584 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.1551, allocations: 25.7 kB / 0.9585 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.398e-05/0.1552, allocations: 146.8 kB / 0.9586 GB, free: 11.53 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.137e-05/0.1552, allocations: 35.81 kB / 0.9586 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.685e-05/0.1552, allocations: 31.36 kB / 0.9587 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.1553, allocations: 0.4884 MB / 0.9592 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.531e-05/0.1554, allocations: 12 kB / 0.9592 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.634e-05/0.1554, allocations: 19.97 kB / 0.9592 GB, free: 10.93 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.649e-05/0.1554, allocations: 36.14 kB / 0.9592 GB, free: 10.89 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1555, allocations: 0 / 0.9592 GB, free: 10.89 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001074/0.1556, allocations: 89.48 kB / 0.9593 GB, free: 10.79 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.1556, allocations: 4 kB / 0.9593 GB, free: 10.79 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.1556, allocations: 0 / 0.9593 GB, free: 10.79 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.541e-06/0.1556, allocations: 4 kB / 0.9593 GB, free: 10.79 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.038e-05/0.1557, allocations: 27.98 kB / 0.9593 GB, free: 10.76 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.894e-06/0.1557, allocations: 0 / 0.9593 GB, free: 10.76 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.652e-05/0.1557, allocations: 15.88 kB / 0.9594 GB, free: 10.74 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.1557, allocations: 4 kB / 0.9594 GB, free: 10.74 MB / 0.9167 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.88e-05/0.1558, allocations: 160.6 kB / 0.9595 GB, free: 10.57 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.677e-05/0.1558, allocations: 15.89 kB / 0.9595 GB, free: 10.55 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.64e-05/0.1559, allocations: 16.77 kB / 0.9595 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1559, allocations: 11.94 kB / 0.9596 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.1559, allocations: 0 / 0.9596 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1559, allocations: 0 / 0.9596 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002859/0.1562, allocations: 330 kB / 0.9599 GB, free: 10.17 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1562, allocations: 3.938 kB / 0.9599 GB, free: 10.16 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.907e-05/0.1562, allocations: 19.98 kB / 0.9599 GB, free: 10.14 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.1562, allocations: 0 / 0.9599 GB, free: 10.14 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.926e-06/0.1562, allocations: 3.984 kB / 0.9599 GB, free: 10.14 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.1562, allocations: 3.938 kB / 0.9599 GB, free: 10.14 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1562, allocations: 8 kB / 0.9599 GB, free: 10.13 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.1564, allocations: 227.8 kB / 0.9601 GB, free: 9.887 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.219e-05/0.1564, allocations: 15.89 kB / 0.9601 GB, free: 9.871 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.1564, allocations: 0 / 0.9601 GB, free: 9.871 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.755e-05/0.1565, allocations: 11.98 kB / 0.9601 GB, free: 9.859 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.876e-05/0.1565, allocations: 7.984 kB / 0.9602 GB, free: 9.852 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.1565, allocations: 4 kB / 0.9602 GB, free: 9.848 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.569e-05/0.1565, allocations: 145.4 kB / 0.9603 GB, free: 9.707 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.1565, allocations: 3.938 kB / 0.9603 GB, free: 9.703 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001809/0.1567, allocations: 35.94 kB / 0.9603 GB, free: 9.668 MB / 0.9167 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.0001193/0.1568, allocations: 111.1 kB / 0.9604 GB, free: 9.551 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 9.943e-05/0.1569, allocations: 47.66 kB / 0.9605 GB, free: 9.5 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.1569, allocations: 0 / 0.9605 GB, free: 9.5 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.082e-05/0.157, allocations: 39.58 kB / 0.9605 GB, free: 9.457 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.1572, allocations: 40.45 kB / 0.9606 GB, free: 9.418 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005293/0.1577, allocations: 221.9 kB / 0.9608 GB, free: 9.176 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.863e-05/0.1578, allocations: 75.19 kB / 0.9608 GB, free: 9.082 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 7.439e-05/0.1579, allocations: 20.66 kB / 0.9609 GB, free: 9.059 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.756e-05/0.158, allocations: 94.17 kB / 0.961 GB, free: 8.965 MB / 0.9167 GB Notification: Performance of SimCode: time 6.22e-07/0.158, allocations: 0 / 0.961 GB, free: 8.965 MB / 0.9167 GB Notification: Performance of Templates: time 0.003649/0.1616, allocations: 2.194 MB / 0.9631 GB, free: 6.812 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.411127836909145]