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.001042/0.001042, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009605/0.0009605, allocations: 161 kB / 23.82 MB, free: 0.75 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.9357/0.9357, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.882/1.882, allocations: 377.8 MB / 0.6236 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 178] 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.393e-06/1.393e-06, allocations: 0 / 0.8115 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.497e-05/1.636e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002039/0.002055, allocations: 1.69 MB / 0.8132 GB, free: 64 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.1273/0.1293, allocations: 147.5 MB / 0.9572 GB, free: 12.1 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.1294, allocations: 0 / 0.9572 GB, free: 12.1 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0001478/0.1296, allocations: 11.88 kB / 0.9572 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0002594/0.1298, allocations: 55.52 kB / 0.9573 GB, free: 12.03 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003593/0.1302, allocations: 151.4 kB / 0.9574 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0001647/0.1304, allocations: 123.5 kB / 0.9575 GB, free: 11.76 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.1305, allocations: 21.58 kB / 0.9575 GB, free: 11.74 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009397/0.1314, allocations: 262.1 kB / 0.9578 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 4.852e-05/0.1315, allocations: 27.91 kB / 0.9578 GB, free: 11.53 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.1315, allocations: 8 kB / 0.9578 GB, free: 11.52 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002982/0.1318, allocations: 171.6 kB / 0.958 GB, free: 11.35 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 4.073e-05/0.1318, allocations: 23.92 kB / 0.958 GB, free: 11.33 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 4.112e-05/0.1319, allocations: 35.91 kB / 0.958 GB, free: 11.29 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0002931/0.1321, allocations: 191.3 kB / 0.9582 GB, free: 11.11 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1322, allocations: 0 / 0.9582 GB, free: 11.11 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1322, allocations: 0 / 0.9582 GB, free: 11.11 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.1322, allocations: 4 kB / 0.9582 GB, free: 11.1 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.0004261/0.1326, allocations: 451.9 kB / 0.9587 GB, free: 10.62 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.1326, allocations: 8.031 kB / 0.9587 GB, free: 10.62 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005505/0.1332, allocations: 111.7 kB / 0.9588 GB, free: 10.51 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.1334, allocations: 159.8 kB / 0.9589 GB, free: 10.32 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.1334, allocations: 8 kB / 0.9589 GB, free: 10.32 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.1334, allocations: 4 kB / 0.9589 GB, free: 10.31 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002411/0.1336, allocations: 126.3 kB / 0.9591 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.1336, allocations: 0 / 0.9591 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.1336, allocations: 0 / 0.9591 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.1337, allocations: 0 / 0.9591 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.561e-05/0.1337, allocations: 43.97 kB / 0.9591 GB, free: 10.14 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004989/0.1342, allocations: 379.3 kB / 0.9595 GB, free: 9.73 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002431/0.1345, allocations: 111.1 kB / 0.9596 GB, free: 9.609 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.374e-05/0.1345, allocations: 39.61 kB / 0.9596 GB, free: 9.566 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.1346, allocations: 0 / 0.9596 GB, free: 9.566 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/0.1346, allocations: 37.39 kB / 0.9596 GB, free: 9.52 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.1346, allocations: 4 kB / 0.9596 GB, free: 9.516 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8): time 0.0002302/0.1348, allocations: 101.6 kB / 0.9597 GB, free: 9.41 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.1348, allocations: 51.41 kB / 0.9598 GB, free: 9.348 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.542e-05/0.1349, allocations: 192 kB / 0.96 GB, free: 9.145 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.135, allocations: 33.64 kB / 0.96 GB, free: 9.105 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.005e-05/0.135, allocations: 146.8 kB / 0.9601 GB, free: 8.957 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.091e-05/0.135, allocations: 27.89 kB / 0.9602 GB, free: 8.93 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.95e-05/0.1351, allocations: 27.36 kB / 0.9602 GB, free: 8.895 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.1352, allocations: 0.4961 MB / 0.9607 GB, free: 8.387 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.376e-05/0.1352, allocations: 23.98 kB / 0.9607 GB, free: 8.363 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.009e-05/0.1353, allocations: 8 kB / 0.9607 GB, free: 8.355 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.394e-05/0.1353, allocations: 48.14 kB / 0.9608 GB, free: 8.305 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1353, allocations: 0 / 0.9608 GB, free: 8.305 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001185/0.1355, allocations: 93.53 kB / 0.9608 GB, free: 8.207 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.1355, allocations: 4 kB / 0.9609 GB, free: 8.203 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.1355, allocations: 4 kB / 0.9609 GB, free: 8.199 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.1355, allocations: 0 / 0.9609 GB, free: 8.199 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.1356, allocations: 27.92 kB / 0.9609 GB, free: 8.172 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.1356, allocations: 7.984 kB / 0.9609 GB, free: 8.164 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.632e-05/0.1356, allocations: 11.89 kB / 0.9609 GB, free: 8.152 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.1357, allocations: 8 kB / 0.9609 GB, free: 8.145 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 7.477e-05/0.1357, allocations: 156.6 kB / 0.9611 GB, free: 7.98 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.691e-05/0.1358, allocations: 19.89 kB / 0.9611 GB, free: 7.961 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.717e-05/0.1358, allocations: 8.781 kB / 0.9611 GB, free: 7.949 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1358, allocations: 4 kB / 0.9611 GB, free: 7.945 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.1358, allocations: 4 kB / 0.9611 GB, free: 7.941 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1358, allocations: 0 / 0.9611 GB, free: 7.941 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000343/0.1361, allocations: 373.3 kB / 0.9615 GB, free: 7.535 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1361, allocations: 0 / 0.9615 GB, free: 7.535 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.055e-05/0.1362, allocations: 23.97 kB / 0.9615 GB, free: 7.512 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.1362, allocations: 0 / 0.9615 GB, free: 7.512 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.1362, allocations: 4 kB / 0.9615 GB, free: 7.508 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.1362, allocations: 0 / 0.9615 GB, free: 7.508 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1362, allocations: 0 / 0.9615 GB, free: 7.508 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001598/0.1364, allocations: 243.7 kB / 0.9617 GB, free: 7.25 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.227e-05/0.1364, allocations: 15.95 kB / 0.9617 GB, free: 7.234 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.1364, allocations: 0 / 0.9617 GB, free: 7.234 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.938e-05/0.1365, allocations: 7.984 kB / 0.9617 GB, free: 7.227 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.369e-05/0.1365, allocations: 11.98 kB / 0.9617 GB, free: 7.215 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.66e-06/0.1365, allocations: 0 / 0.9617 GB, free: 7.215 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.829e-05/0.1366, allocations: 148.9 kB / 0.9619 GB, free: 7.07 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.1366, allocations: 0 / 0.9619 GB, free: 7.07 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001805/0.1368, allocations: 31.94 kB / 0.9619 GB, free: 7.039 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.0001508/0.1369, allocations: 122.6 kB / 0.962 GB, free: 6.914 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001336/0.1371, allocations: 59.58 kB / 0.9621 GB, free: 6.852 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.1371, allocations: 0 / 0.9621 GB, free: 6.852 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.422e-05/0.1371, allocations: 31.67 kB / 0.9621 GB, free: 6.816 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002466/0.1373, allocations: 44.45 kB / 0.9622 GB, free: 6.773 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006445/0.138, allocations: 229.8 kB / 0.9624 GB, free: 6.523 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.186e-05/0.138, allocations: 67.2 kB / 0.9624 GB, free: 6.438 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 8.323e-05/0.1381, allocations: 28.64 kB / 0.9625 GB, free: 6.406 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.578e-05/0.1382, allocations: 20.48 kB / 0.9625 GB, free: 6.387 MB / 0.9167 GB Notification: Performance of SimCode: time 8.32e-07/0.1382, allocations: 0 / 0.9625 GB, free: 6.387 MB / 0.9167 GB Notification: Performance of Templates: time 0.004237/0.1424, allocations: 2.091 MB / 0.9645 GB, free: 4.348 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.114668035879731]