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.0009876/0.0009876, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009952/0.0009952, allocations: 173 kB / 23.5 MB, free: 1.051 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.9656/0.9656, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.068/2.068, allocations: 429.5 MB / 0.6736 GB, free: 4.039 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 1.794e-06/1.794e-06, allocations: 0 / 0.8782 GB, free: 6.621 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.655e-05/2.834e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.617 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.004817/0.004845, allocations: 1.694 MB / 0.8798 GB, free: 4.938 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1316/0.1364, allocations: 147.2 MB / 1.024 GB, free: 1.238 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001203/0.1365, allocations: 0 / 1.024 GB, free: 1.238 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0001591/0.1367, allocations: 23.8 kB / 1.024 GB, free: 1.215 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0002616/0.137, allocations: 55.56 kB / 1.024 GB, free: 1.16 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003442/0.1373, allocations: 155.2 kB / 1.024 GB, free: 1.008 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.000177/0.1375, allocations: 119.6 kB / 1.024 GB, free: 0.8906 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.1376, allocations: 25.56 kB / 1.024 GB, free: 0.8633 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001025/0.1386, allocations: 255.6 kB / 1.024 GB, free: 0.6758 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 5.616e-05/0.1387, allocations: 31.89 kB / 1.024 GB, free: 0.6445 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.1387, allocations: 8 kB / 1.024 GB, free: 0.6367 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002986/0.139, allocations: 175.6 kB / 1.024 GB, free: 476 kB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 4.234e-05/0.139, allocations: 27.91 kB / 1.024 GB, free: 448 kB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 4.408e-05/0.1391, allocations: 27.92 kB / 1.024 GB, free: 420 kB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0003062/0.1394, allocations: 191.3 kB / 1.025 GB, free: 228 kB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1394, allocations: 0 / 1.025 GB, free: 228 kB / 0.9792 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1394, allocations: 0 / 1.025 GB, free: 228 kB / 0.9792 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.1394, allocations: 0 / 1.025 GB, free: 228 kB / 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.000493/0.1399, allocations: 463.5 kB / 1.025 GB, free: 15.73 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.1399, allocations: 8.031 kB / 1.025 GB, free: 15.73 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007096/0.1406, allocations: 111.7 kB / 1.025 GB, free: 15.62 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002009/0.1408, allocations: 157.4 kB / 1.025 GB, free: 15.44 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.1409, allocations: 4 kB / 1.025 GB, free: 15.43 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.924e-05/0.1409, allocations: 12 kB / 1.025 GB, free: 15.42 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002603/0.1411, allocations: 122.2 kB / 1.025 GB, free: 15.29 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.1411, allocations: 0 / 1.025 GB, free: 15.29 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.1412, allocations: 4 kB / 1.025 GB, free: 15.29 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.1412, allocations: 0 / 1.025 GB, free: 15.29 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.1413, allocations: 50.34 kB / 1.025 GB, free: 15.24 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005574/0.1418, allocations: 375.5 kB / 1.026 GB, free: 14.84 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002736/0.1421, allocations: 115.2 kB / 1.026 GB, free: 14.71 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.635e-05/0.1422, allocations: 39.61 kB / 1.026 GB, free: 14.67 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.1422, allocations: 4 kB / 1.026 GB, free: 14.67 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.1422, allocations: 45.27 kB / 1.026 GB, free: 14.61 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=8): time 1.473e-06/0.1422, allocations: 0 / 1.026 GB, free: 14.61 MB / 0.9948 GB Notification: Performance of matching and sorting (n=8): time 0.0002791/0.1425, allocations: 105.5 kB / 1.026 GB, free: 14.5 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.1425, allocations: 55.41 kB / 1.026 GB, free: 14.44 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.796e-05/0.1426, allocations: 187.3 kB / 1.026 GB, free: 14.24 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.1426, allocations: 25.7 kB / 1.026 GB, free: 14.21 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 6.066e-05/0.1427, allocations: 154.9 kB / 1.027 GB, free: 14.05 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.143e-05/0.1427, allocations: 27.75 kB / 1.027 GB, free: 14.02 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.03e-05/0.1428, allocations: 35.36 kB / 1.027 GB, free: 13.98 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.1429, allocations: 0.4923 MB / 1.027 GB, free: 13.48 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.71e-05/0.143, allocations: 15.98 kB / 1.027 GB, free: 13.46 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.114e-05/0.143, allocations: 102.4 kB / 1.027 GB, free: 13.34 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.985e-05/0.1431, allocations: 43.67 kB / 1.027 GB, free: 13.29 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.1431, allocations: 0 / 1.027 GB, free: 13.29 MB / 0.9948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000152/0.1433, allocations: 85.56 kB / 1.027 GB, free: 13.2 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.1433, allocations: 4 kB / 1.027 GB, free: 13.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.808e-06/0.1433, allocations: 0 / 1.027 GB, free: 13.2 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.1433, allocations: 8.031 kB / 1.027 GB, free: 13.19 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.1434, allocations: 27.91 kB / 1.027 GB, free: 13.16 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.1434, allocations: 4 kB / 1.027 GB, free: 13.16 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.754e-05/0.1435, allocations: 4 kB / 1.027 GB, free: 13.15 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.1435, allocations: 7.984 kB / 1.027 GB, free: 13.14 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 7.792e-05/0.1436, allocations: 156.6 kB / 1.028 GB, free: 12.98 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.431e-05/0.1436, allocations: 15.89 kB / 1.028 GB, free: 12.96 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.295e-05/0.1437, allocations: 16.78 kB / 1.028 GB, free: 12.94 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.1437, allocations: 4 kB / 1.028 GB, free: 12.94 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.1437, allocations: 0 / 1.028 GB, free: 12.94 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.1437, allocations: 3.984 kB / 1.028 GB, free: 12.93 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003899/0.1441, allocations: 373.2 kB / 1.028 GB, free: 12.53 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1441, allocations: 0 / 1.028 GB, free: 12.53 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.571e-05/0.1442, allocations: 19.98 kB / 1.028 GB, free: 12.51 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1442, allocations: 0 / 1.028 GB, free: 12.51 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.1442, allocations: 4 kB / 1.028 GB, free: 12.5 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.1442, allocations: 0 / 1.028 GB, free: 12.5 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1442, allocations: 0 / 1.028 GB, free: 12.5 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000192/0.1444, allocations: 247.7 kB / 1.028 GB, free: 12.24 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.249e-05/0.1444, allocations: 11.89 kB / 1.028 GB, free: 12.23 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.1444, allocations: 3.938 kB / 1.028 GB, free: 12.23 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.449e-05/0.1445, allocations: 8 kB / 1.028 GB, free: 12.22 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.638e-05/0.1445, allocations: 7.984 kB / 1.028 GB, free: 12.21 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.1445, allocations: 3.984 kB / 1.028 GB, free: 12.21 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 5.739e-05/0.1446, allocations: 149.1 kB / 1.028 GB, free: 12.06 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.1446, allocations: 4 kB / 1.028 GB, free: 12.06 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002493/0.1448, allocations: 31.89 kB / 1.028 GB, free: 12.03 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.0001537/0.145, allocations: 111.2 kB / 1.028 GB, free: 11.91 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001561/0.1452, allocations: 56.36 kB / 1.029 GB, free: 11.85 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.1452, allocations: 0 / 1.029 GB, free: 11.85 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 5.691e-05/0.1452, allocations: 35.77 kB / 1.029 GB, free: 11.81 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003356/0.1456, allocations: 48.03 kB / 1.029 GB, free: 11.77 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007274/0.1463, allocations: 225.8 kB / 1.029 GB, free: 11.52 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.334e-05/0.1463, allocations: 67.34 kB / 1.029 GB, free: 11.43 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 9.669e-05/0.1464, allocations: 20.7 kB / 1.029 GB, free: 11.41 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.883e-05/0.1465, allocations: 20.48 kB / 1.029 GB, free: 11.39 MB / 0.9948 GB Notification: Performance of SimCode: time 7.91e-07/0.1465, allocations: 0 / 1.029 GB, free: 11.39 MB / 0.9948 GB Notification: Performance of Templates: time 0.004249/0.1507, allocations: 2.027 MB / 1.031 GB, free: 9.418 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.535131072159857]