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.0009145/0.0009145, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001038/0.001038, allocations: 161 kB / 24.17 MB, free: 332 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.9388/0.9388, allocations: 177.2 MB / 204.6 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.783/1.783, allocations: 377.9 MB / 0.624 GB, free: 8.324 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.192e-06/1.192e-06, allocations: 0 / 0.76 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.794e-05/1.914e-05, allocations: 6.25 kB / 0.76 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002076/0.002095, allocations: 1.693 MB / 0.7617 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.1169/0.119, allocations: 146.8 MB / 0.9051 GB, free: 1.742 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.46e-05/0.119, allocations: 4 kB / 0.9051 GB, free: 1.738 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001316/0.1192, allocations: 19.8 kB / 0.9051 GB, free: 1.719 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0002138/0.1194, allocations: 47.58 kB / 0.9051 GB, free: 1.672 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002832/0.1197, allocations: 147.4 kB / 0.9053 GB, free: 1.527 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001277/0.1198, allocations: 131.5 kB / 0.9054 GB, free: 1.398 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 8.714e-05/0.1199, allocations: 18.23 kB / 0.9054 GB, free: 1.375 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007413/0.1206, allocations: 252.7 kB / 0.9057 GB, free: 1.199 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.188e-05/0.1207, allocations: 35.89 kB / 0.9057 GB, free: 1.164 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.1207, allocations: 8 kB / 0.9057 GB, free: 1.156 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002504/0.1209, allocations: 175.6 kB / 0.9059 GB, free: 0.9844 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.377e-05/0.121, allocations: 19.92 kB / 0.9059 GB, free: 0.9648 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.926e-05/0.121, allocations: 31.92 kB / 0.9059 GB, free: 0.9336 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002284/0.1212, allocations: 191.3 kB / 0.9061 GB, free: 0.7461 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.1212, allocations: 0 / 0.9061 GB, free: 0.7461 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1212, allocations: 0 / 0.9061 GB, free: 0.7461 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.466e-06/0.1212, allocations: 0 / 0.9061 GB, free: 0.7461 MB / 0.8542 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.0003201/0.1216, allocations: 340.2 kB / 0.9064 GB, free: 400 kB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 2.693e-05/0.1216, allocations: 8.031 kB / 0.9064 GB, free: 392 kB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004341/0.122, allocations: 111.7 kB / 0.9065 GB, free: 280 kB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.1221, allocations: 141 kB / 0.9067 GB, free: 112 kB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.474e-06/0.1222, allocations: 4 kB / 0.9067 GB, free: 108 kB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/0.1222, allocations: 8 kB / 0.9067 GB, free: 100 kB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.1223, allocations: 116.7 kB / 0.9068 GB, free: 15.98 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.711e-06/0.1224, allocations: 0 / 0.9068 GB, free: 15.98 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.1224, allocations: 4 kB / 0.9068 GB, free: 15.97 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.1224, allocations: 4 kB / 0.9068 GB, free: 15.97 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.399e-05/0.1224, allocations: 27.97 kB / 0.9068 GB, free: 15.94 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003264/0.1228, allocations: 254.8 kB / 0.9071 GB, free: 15.68 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001617/0.1229, allocations: 77.36 kB / 0.9071 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.157e-05/0.1229, allocations: 32.77 kB / 0.9072 GB, free: 15.55 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.123, allocations: 0 / 0.9072 GB, free: 15.55 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.755e-05/0.123, allocations: 38.5 kB / 0.9072 GB, free: 15.51 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=8): time 6.22e-07/0.123, allocations: 0 / 0.9072 GB, free: 15.51 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8): time 0.0001328/0.1231, allocations: 77.66 kB / 0.9073 GB, free: 15.43 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.573e-05/0.1231, allocations: 55.41 kB / 0.9073 GB, free: 15.36 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.765e-05/0.1232, allocations: 135.5 kB / 0.9075 GB, free: 15.21 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.1232, allocations: 25.7 kB / 0.9075 GB, free: 15.18 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 2.913e-05/0.1232, allocations: 100.2 kB / 0.9076 GB, free: 15.08 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.203e-05/0.1233, allocations: 23.8 kB / 0.9076 GB, free: 15.06 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-05/0.1233, allocations: 21.7 kB / 0.9076 GB, free: 15.03 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.292e-05/0.1234, allocations: 322.8 kB / 0.9079 GB, free: 14.71 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.067e-05/0.1234, allocations: 11.94 kB / 0.908 GB, free: 14.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.947e-05/0.1234, allocations: 15.98 kB / 0.908 GB, free: 14.68 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.479e-05/0.1234, allocations: 35.66 kB / 0.908 GB, free: 14.64 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.1234, allocations: 8 kB / 0.908 GB, free: 14.63 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 6.931e-05/0.1235, allocations: 61.67 kB / 0.9081 GB, free: 14.57 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.1235, allocations: 15.88 kB / 0.9081 GB, free: 14.55 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.337e-06/0.1235, allocations: 0 / 0.9081 GB, free: 14.55 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.1235, allocations: 0 / 0.9081 GB, free: 14.55 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.08e-05/0.1236, allocations: 27.91 kB / 0.9081 GB, free: 14.52 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.354e-06/0.1236, allocations: 4 kB / 0.9081 GB, free: 14.52 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.825e-05/0.1237, allocations: 7.938 kB / 0.9081 GB, free: 14.51 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.1237, allocations: 7.984 kB / 0.9081 GB, free: 14.5 MB / 0.8698 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 5.179e-05/0.1237, allocations: 112.7 kB / 0.9082 GB, free: 14.38 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.863e-05/0.1237, allocations: 7.938 kB / 0.9082 GB, free: 14.38 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.533e-05/0.1238, allocations: 20.77 kB / 0.9083 GB, free: 14.36 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-06/0.1238, allocations: 0 / 0.9083 GB, free: 14.36 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.1238, allocations: 0 / 0.9083 GB, free: 14.36 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.1238, allocations: 8 kB / 0.9083 GB, free: 14.35 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002168/0.124, allocations: 242.7 kB / 0.9085 GB, free: 14.09 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.124, allocations: 0 / 0.9085 GB, free: 14.09 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.966e-05/0.1241, allocations: 27.91 kB / 0.9085 GB, free: 14.06 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1241, allocations: 0 / 0.9085 GB, free: 14.06 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.1241, allocations: 3.984 kB / 0.9085 GB, free: 14.05 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1241, allocations: 4 kB / 0.9085 GB, free: 14.05 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1241, allocations: 0.625 kB / 0.9085 GB, free: 14.05 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.11e-05/0.1242, allocations: 167.5 kB / 0.9087 GB, free: 13.87 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.166e-05/0.1242, allocations: 23.8 kB / 0.9087 GB, free: 13.85 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.1242, allocations: 0 / 0.9087 GB, free: 13.85 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.183e-05/0.1242, allocations: 4 kB / 0.9087 GB, free: 13.84 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.808e-05/0.1243, allocations: 11.98 kB / 0.9087 GB, free: 13.83 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.1243, allocations: 3.984 kB / 0.9087 GB, free: 13.83 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 1.763e-05/0.1243, allocations: 26.56 kB / 0.9088 GB, free: 13.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.1e-08/0.1243, allocations: 0 / 0.9088 GB, free: 13.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001473/0.1244, allocations: 35.89 kB / 0.9088 GB, free: 13.77 MB / 0.8698 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.0001107/0.1245, allocations: 96.39 kB / 0.9089 GB, free: 13.66 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 7.734e-05/0.1246, allocations: 36.78 kB / 0.9089 GB, free: 13.62 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1246, allocations: 4 kB / 0.9089 GB, free: 13.62 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 3.243e-05/0.1247, allocations: 28.84 kB / 0.909 GB, free: 13.59 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001757/0.1248, allocations: 35.97 kB / 0.909 GB, free: 13.55 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004679/0.1253, allocations: 238.8 kB / 0.9092 GB, free: 13.3 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.171e-05/0.1253, allocations: 63.34 kB / 0.9093 GB, free: 13.21 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 6.444e-05/0.1254, allocations: 20.67 kB / 0.9093 GB, free: 13.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.614e-05/0.1255, allocations: 75.34 kB / 0.9094 GB, free: 13.12 MB / 0.8698 GB Notification: Performance of SimCode: time 3.9e-07/0.1255, allocations: 0 / 0.9094 GB, free: 13.12 MB / 0.8698 GB Notification: Performance of Templates: time 0.003267/0.1287, allocations: 2.029 MB / 0.9114 GB, free: 11.14 MB / 0.8698 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: 4.898437890224159]