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.000992/0.000992, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.000951/0.000951, allocations: 169 kB / 23.02 MB, free: 1.551 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.9425/0.9425, allocations: 177.1 MB / 203.4 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.132/2.132, allocations: 429.5 MB / 0.6733 GB, free: 4.027 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.453e-06/1.453e-06, allocations: 0 / 0.8781 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.506e-05/1.651e-05, allocations: 8.156 kB / 0.8781 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.001866/0.001882, allocations: 1.693 MB / 0.8798 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1222/0.1241, allocations: 147.5 MB / 1.024 GB, free: 0.6562 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.314e-05/0.1242, allocations: 0 / 1.024 GB, free: 0.6562 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0001571/0.1244, allocations: 19.73 kB / 1.024 GB, free: 0.6367 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0002379/0.1246, allocations: 47.66 kB / 1.024 GB, free: 0.5898 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003188/0.1249, allocations: 155.3 kB / 1.024 GB, free: 448 kB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.000148/0.1251, allocations: 127.4 kB / 1.024 GB, free: 320 kB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.1252, allocations: 29.55 kB / 1.024 GB, free: 288 kB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008293/0.126, allocations: 236.6 kB / 1.024 GB, free: 112 kB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 4.953e-05/0.1261, allocations: 39.91 kB / 1.024 GB, free: 72 kB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.1261, allocations: 4 kB / 1.024 GB, free: 68 kB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002663/0.1263, allocations: 179.6 kB / 1.025 GB, free: 15.89 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 3.72e-05/0.1264, allocations: 19.92 kB / 1.025 GB, free: 15.87 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 3.893e-05/0.1264, allocations: 31.92 kB / 1.025 GB, free: 15.84 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002641/0.1267, allocations: 191.3 kB / 1.025 GB, free: 15.65 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1267, allocations: 0 / 1.025 GB, free: 15.65 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1267, allocations: 4 kB / 1.025 GB, free: 15.65 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.1267, allocations: 3.938 kB / 1.025 GB, free: 15.64 MB / 0.9948 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.0004501/0.1271, allocations: 463.6 kB / 1.025 GB, free: 15.16 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.1272, allocations: 8.031 kB / 1.025 GB, free: 15.15 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005302/0.1277, allocations: 107.7 kB / 1.025 GB, free: 15.04 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/0.1279, allocations: 157.4 kB / 1.026 GB, free: 14.86 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.998e-06/0.1279, allocations: 0 / 1.026 GB, free: 14.86 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/0.1279, allocations: 12 kB / 1.026 GB, free: 14.85 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002232/0.1282, allocations: 117 kB / 1.026 GB, free: 14.73 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.1282, allocations: 0 / 1.026 GB, free: 14.73 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.1282, allocations: 8 kB / 1.026 GB, free: 14.72 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.1282, allocations: 0 / 1.026 GB, free: 14.72 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.1283, allocations: 55.89 kB / 1.026 GB, free: 14.67 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004925/0.1288, allocations: 375.4 kB / 1.026 GB, free: 14.27 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002386/0.129, allocations: 111.1 kB / 1.026 GB, free: 14.14 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.626e-05/0.1291, allocations: 43.59 kB / 1.026 GB, free: 14.1 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.1291, allocations: 3.984 kB / 1.026 GB, free: 14.09 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.796e-05/0.1291, allocations: 33.39 kB / 1.026 GB, free: 14.05 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.1291, allocations: 0 / 1.026 GB, free: 14.05 MB / 0.9948 GB Notification: Performance of matching and sorting (n=8): time 0.0002233/0.1293, allocations: 105.5 kB / 1.026 GB, free: 13.94 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.532e-05/0.1294, allocations: 55.39 kB / 1.026 GB, free: 13.88 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.532e-05/0.1294, allocations: 195.8 kB / 1.027 GB, free: 13.67 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.1295, allocations: 29.7 kB / 1.027 GB, free: 13.63 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 8.666e-05/0.1296, allocations: 150.9 kB / 1.027 GB, free: 13.48 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.75e-05/0.1296, allocations: 31.73 kB / 1.027 GB, free: 13.45 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-05/0.1296, allocations: 31.36 kB / 1.027 GB, free: 13.41 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.1297, allocations: 496.1 kB / 1.027 GB, free: 12.91 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.632e-05/0.1298, allocations: 19.98 kB / 1.027 GB, free: 12.89 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.552e-05/0.1298, allocations: 98.45 kB / 1.027 GB, free: 12.77 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.1e-05/0.1299, allocations: 43.67 kB / 1.027 GB, free: 12.73 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1299, allocations: 0 / 1.027 GB, free: 12.73 MB / 0.9948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001176/0.13, allocations: 93.5 kB / 1.028 GB, free: 12.63 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.13, allocations: 10.22 kB / 1.028 GB, free: 12.62 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.13, allocations: 0 / 1.028 GB, free: 12.62 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.1301, allocations: 0 / 1.028 GB, free: 12.62 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.1302, allocations: 19.98 kB / 1.028 GB, free: 12.6 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.1302, allocations: 0 / 1.028 GB, free: 12.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.78e-05/0.1302, allocations: 11.98 kB / 1.028 GB, free: 12.59 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.1302, allocations: 0 / 1.028 GB, free: 12.59 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.229e-05/0.1303, allocations: 160.6 kB / 1.028 GB, free: 12.42 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.59e-05/0.1303, allocations: 15.89 kB / 1.028 GB, free: 12.41 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.868e-05/0.1304, allocations: 28.64 kB / 1.028 GB, free: 12.37 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.1304, allocations: 0 / 1.028 GB, free: 12.37 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.1304, allocations: 4 kB / 1.028 GB, free: 12.37 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.1304, allocations: 0 / 1.028 GB, free: 12.37 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003134/0.1307, allocations: 369.2 kB / 1.028 GB, free: 11.96 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.1307, allocations: 4 kB / 1.028 GB, free: 11.96 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.672e-05/0.1307, allocations: 19.98 kB / 1.028 GB, free: 11.94 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.1307, allocations: 4 kB / 1.028 GB, free: 11.94 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.1308, allocations: 3.984 kB / 1.028 GB, free: 11.93 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1308, allocations: 0 / 1.028 GB, free: 11.93 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.1308, allocations: 3.938 kB / 1.028 GB, free: 11.93 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001508/0.1309, allocations: 240.4 kB / 1.028 GB, free: 11.68 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.006e-05/0.1309, allocations: 11.88 kB / 1.028 GB, free: 11.66 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.1309, allocations: 4 kB / 1.028 GB, free: 11.66 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.1311, allocations: 15.98 kB / 1.028 GB, free: 11.64 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.62e-05/0.1311, allocations: 7.984 kB / 1.028 GB, free: 11.64 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-06/0.1311, allocations: 8 kB / 1.028 GB, free: 11.63 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 5.175e-05/0.1312, allocations: 145.4 kB / 1.029 GB, free: 11.49 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.1312, allocations: 0 / 1.029 GB, free: 11.49 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001781/0.1314, allocations: 35.89 kB / 1.029 GB, free: 11.45 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.0001273/0.1315, allocations: 103.2 kB / 1.029 GB, free: 11.34 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001418/0.1316, allocations: 63.66 kB / 1.029 GB, free: 11.28 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.1316, allocations: 0 / 1.029 GB, free: 11.28 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 5.148e-05/0.1317, allocations: 43.59 kB / 1.029 GB, free: 11.23 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.1319, allocations: 39.84 kB / 1.029 GB, free: 11.19 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006113/0.1325, allocations: 229.8 kB / 1.029 GB, free: 10.94 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.688e-05/0.1326, allocations: 67.33 kB / 1.029 GB, free: 10.86 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 7.439e-05/0.1327, allocations: 16.72 kB / 1.029 GB, free: 10.84 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.246e-05/0.1327, allocations: 20.5 kB / 1.029 GB, free: 10.82 MB / 0.9948 GB Notification: Performance of SimCode: time 6.31e-07/0.1327, allocations: 0 / 1.029 GB, free: 10.82 MB / 0.9948 GB Notification: Performance of Templates: time 0.003565/0.1363, allocations: 2.028 MB / 1.031 GB, free: 8.84 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.574231545906514]