Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001024/0.001024, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001078/0.001078, allocations: 177 kB / 24.07 MB, free: 448 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.9814/0.9814, allocations: 177.1 MB / 204.5 MB, free: 5.527 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.143/2.143, allocations: 429.5 MB / 0.6743 GB, free: 3.953 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.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_latest_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_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0.6562 kB / 0.8794 GB, free: 6.086 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.317e-05/2.518e-05, allocations: 3.375 kB / 0.8794 GB, free: 6.082 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003203/0.003228, allocations: 1.699 MB / 0.881 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.136/0.1392, allocations: 144.7 MB / 1.022 GB, free: 3.168 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.1393, allocations: 0 / 1.022 GB, free: 3.168 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.00015/0.1395, allocations: 19.8 kB / 1.022 GB, free: 3.148 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0002519/0.1397, allocations: 51.58 kB / 1.022 GB, free: 3.098 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003624/0.1401, allocations: 151.3 kB / 1.023 GB, free: 2.949 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.1402, allocations: 127.5 kB / 1.023 GB, free: 2.824 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.1403, allocations: 25.56 kB / 1.023 GB, free: 2.797 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009379/0.1413, allocations: 258.9 kB / 1.023 GB, free: 2.605 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 4.905e-05/0.1413, allocations: 27.91 kB / 1.023 GB, free: 2.578 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.1413, allocations: 8 kB / 1.023 GB, free: 2.57 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003026/0.1416, allocations: 179.6 kB / 1.023 GB, free: 2.395 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 4.212e-05/0.1417, allocations: 27.91 kB / 1.023 GB, free: 2.367 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 3.333e-05/0.1417, allocations: 23.94 kB / 1.023 GB, free: 2.344 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0002733/0.142, allocations: 187.3 kB / 1.023 GB, free: 2.16 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.142, allocations: 0 / 1.023 GB, free: 2.16 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.183e-06/0.142, allocations: 8 kB / 1.023 GB, free: 2.152 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.142, allocations: 3.938 kB / 1.023 GB, free: 2.148 MB / 0.9792 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.0004056/0.1424, allocations: 455.5 kB / 1.024 GB, free: 1.668 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.1424, allocations: 12.03 kB / 1.024 GB, free: 1.656 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005256/0.143, allocations: 103.7 kB / 1.024 GB, free: 1.555 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.1431, allocations: 157.5 kB / 1.024 GB, free: 1.375 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.1431, allocations: 4 kB / 1.024 GB, free: 1.371 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.413e-05/0.1432, allocations: 8 kB / 1.024 GB, free: 1.363 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/0.1433, allocations: 110.3 kB / 1.024 GB, free: 1.246 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.1434, allocations: 4 kB / 1.024 GB, free: 1.242 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.1434, allocations: 4 kB / 1.024 GB, free: 1.238 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.1434, allocations: 4 kB / 1.024 GB, free: 1.234 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.597e-05/0.1434, allocations: 35.91 kB / 1.024 GB, free: 1.199 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004293/0.1439, allocations: 356 kB / 1.025 GB, free: 0.8242 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001926/0.1441, allocations: 95.14 kB / 1.025 GB, free: 0.7188 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.954e-05/0.1441, allocations: 35.64 kB / 1.025 GB, free: 0.6797 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/0.1441, allocations: 3.984 kB / 1.025 GB, free: 0.6758 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.1441, allocations: 41.33 kB / 1.025 GB, free: 0.625 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=8): time 1.503e-06/0.1441, allocations: 4 kB / 1.025 GB, free: 0.6211 MB / 0.9792 GB Notification: Performance of matching and sorting (n=8): time 0.0001869/0.1443, allocations: 89.58 kB / 1.025 GB, free: 0.5273 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/0.1444, allocations: 55.34 kB / 1.025 GB, free: 472 kB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.165e-05/0.1444, allocations: 196.1 kB / 1.025 GB, free: 260 kB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.1444, allocations: 25.7 kB / 1.025 GB, free: 228 kB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 5.664e-05/0.1445, allocations: 146.8 kB / 1.025 GB, free: 76 kB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 3.111e-05/0.1445, allocations: 31.86 kB / 1.025 GB, free: 44 kB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.172e-05/0.1446, allocations: 31.36 kB / 1.025 GB, free: 4 kB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.1447, allocations: 496.1 kB / 1.026 GB, free: 15.51 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.262e-05/0.1448, allocations: 15.98 kB / 1.026 GB, free: 15.49 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.884e-05/0.1448, allocations: 15.98 kB / 1.026 GB, free: 15.48 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.121e-05/0.1449, allocations: 43.66 kB / 1.026 GB, free: 15.43 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1449, allocations: 0 / 1.026 GB, free: 15.43 MB / 0.9948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001096/0.145, allocations: 73.58 kB / 1.026 GB, free: 15.35 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.145, allocations: 7.938 kB / 1.026 GB, free: 15.34 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-06/0.145, allocations: 4 kB / 1.026 GB, free: 15.34 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.937e-06/0.145, allocations: 3.984 kB / 1.026 GB, free: 15.34 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.1451, allocations: 27.98 kB / 1.026 GB, free: 15.31 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.354e-06/0.1451, allocations: 0 / 1.026 GB, free: 15.31 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.837e-05/0.1451, allocations: 15.92 kB / 1.026 GB, free: 15.29 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.1452, allocations: 4 kB / 1.026 GB, free: 15.29 MB / 0.9948 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 0.000101/0.1453, allocations: 156.6 kB / 1.026 GB, free: 15.12 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.701e-05/0.1453, allocations: 15.89 kB / 1.026 GB, free: 15.11 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.634e-05/0.1453, allocations: 12.72 kB / 1.026 GB, free: 15.09 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.1453, allocations: 4 kB / 1.026 GB, free: 15.09 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.1453, allocations: 0 / 1.026 GB, free: 15.09 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1453, allocations: 3.984 kB / 1.026 GB, free: 15.08 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003014/0.1456, allocations: 341.9 kB / 1.026 GB, free: 14.71 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1456, allocations: 3.938 kB / 1.026 GB, free: 14.71 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.102e-05/0.1457, allocations: 23.98 kB / 1.027 GB, free: 14.69 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1457, allocations: 0 / 1.027 GB, free: 14.69 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.924e-06/0.1457, allocations: 3.984 kB / 1.027 GB, free: 14.68 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.1457, allocations: 4 kB / 1.027 GB, free: 14.68 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1457, allocations: 0 / 1.027 GB, free: 14.68 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001373/0.1459, allocations: 228.4 kB / 1.027 GB, free: 14.44 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.098e-05/0.1459, allocations: 15.89 kB / 1.027 GB, free: 14.42 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.1459, allocations: 0 / 1.027 GB, free: 14.42 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.134e-05/0.1459, allocations: 11.98 kB / 1.027 GB, free: 14.41 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.37e-05/0.146, allocations: 11.97 kB / 1.027 GB, free: 14.4 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.146, allocations: 4 kB / 1.027 GB, free: 14.39 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001111/0.1461, allocations: 139.2 kB / 1.027 GB, free: 14.26 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.1461, allocations: 0 / 1.027 GB, free: 14.26 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001852/0.1463, allocations: 35.89 kB / 1.027 GB, free: 14.22 MB / 0.9948 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.0001425/0.1464, allocations: 111.2 kB / 1.027 GB, free: 14.11 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001049/0.1465, allocations: 51.67 kB / 1.027 GB, free: 14.05 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.183e-06/0.1465, allocations: 0 / 1.027 GB, free: 14.05 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 4.196e-05/0.1466, allocations: 39.8 kB / 1.027 GB, free: 14.01 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002454/0.1468, allocations: 42.08 kB / 1.027 GB, free: 13.97 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005212/0.1473, allocations: 229.7 kB / 1.027 GB, free: 13.72 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.642e-05/0.1474, allocations: 63.34 kB / 1.027 GB, free: 13.64 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 7.541e-05/0.1475, allocations: 20.72 kB / 1.027 GB, free: 13.62 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.75e-05/0.1476, allocations: 98.17 kB / 1.028 GB, free: 13.52 MB / 0.9948 GB Notification: Performance of SimCode: time 6.91e-07/0.1476, allocations: 0 / 1.028 GB, free: 13.52 MB / 0.9948 GB Notification: Performance of Templates: time 0.003825/0.1514, allocations: 2.194 MB / 1.03 GB, free: 11.37 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.6220530341379344]