Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.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.001231/0.001231, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.001205/0.001205, allocations: 185.3 kB / 24.09 MB, free: 412 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.9972/0.9972, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.881/1.881, allocations: 377.9 MB / 0.624 GB, free: 8.391 MB / 0.5886 GB " [Timeout remaining time 177] 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.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi.phi",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi.phi",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 0.812 GB, free: 1.469 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.43e-05/2.642e-05, allocations: 2.312 kB / 0.812 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002135/0.002162, allocations: 1.535 MB / 0.8135 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001095/0.003256, allocations: 0.8109 MB / 0.8143 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.599e-05/0.003292, allocations: 0 / 0.8143 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.687e-05/0.003319, allocations: 7.938 kB / 0.8143 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.897e-05/0.003368, allocations: 7.875 kB / 0.8143 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003733/0.003741, allocations: 140.8 kB / 0.8144 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 7.028e-05/0.003812, allocations: 55.78 kB / 0.8145 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.421e-05/0.003896, allocations: 8.656 kB / 0.8145 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.898e-05/0.003955, allocations: 29.19 kB / 0.8145 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.895e-05/0.003994, allocations: 19.92 kB / 0.8145 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.00401, allocations: 7.984 kB / 0.8145 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002354/0.004245, allocations: 167.6 kB / 0.8147 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.661e-05/0.004262, allocations: 5.156 kB / 0.8147 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.036e-05/0.004282, allocations: 11.98 kB / 0.8147 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001985/0.004481, allocations: 155.5 kB / 0.8149 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.004482, allocations: 1.375 kB / 0.8149 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.61e-07/0.004483, allocations: 3.938 kB / 0.8149 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.004488, allocations: 0 / 0.8149 GB, free: 14.53 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003591/0.004847, allocations: 425.9 kB / 0.8153 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.004888, allocations: 8.031 kB / 0.8153 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.343e-05/0.004921, allocations: 4.938 kB / 0.8153 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.005047, allocations: 124.4 kB / 0.8154 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.00506, allocations: 13.64 kB / 0.8154 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.584e-06/0.005067, allocations: 384 / 0.8154 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.005215, allocations: 66.94 kB / 0.8155 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-06/0.005222, allocations: 0.6875 kB / 0.8155 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.00523, allocations: 384 / 0.8155 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.005237, allocations: 2.281 kB / 0.8155 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.589e-05/0.005263, allocations: 15.92 kB / 0.8155 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003114/0.005574, allocations: 252.3 kB / 0.8157 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.087e-05/0.005655, allocations: 31.06 kB / 0.8158 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.402e-05/0.005679, allocations: 18.17 kB / 0.8158 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001301/0.005809, allocations: 11.98 kB / 0.8158 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.005837, allocations: 41.39 kB / 0.8158 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.473e-06/0.005838, allocations: 0 / 0.8158 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.00014/0.005978, allocations: 49.53 kB / 0.8159 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/0.006013, allocations: 56.11 kB / 0.8159 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.588e-05/0.006109, allocations: 166 kB / 0.8161 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.00612, allocations: 26.23 kB / 0.8161 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.349e-05/0.006173, allocations: 144.5 kB / 0.8163 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.94e-05/0.006193, allocations: 3.953 kB / 0.8163 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.278e-05/0.006226, allocations: 27.36 kB / 0.8163 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.006371, allocations: 0.4884 MB / 0.8168 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.411e-05/0.006385, allocations: 3.938 kB / 0.8168 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.411e-05/0.006399, allocations: 5.156 kB / 0.8168 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.167e-05/0.006431, allocations: 15.67 kB / 0.8168 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.006433, allocations: 0 / 0.8168 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.99e-05/0.006492, allocations: 50.16 kB / 0.8168 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.006505, allocations: 8.719 kB / 0.8169 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.006509, allocations: 0 / 0.8169 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.006519, allocations: 0.8438 kB / 0.8169 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.859e-05/0.006577, allocations: 11.98 kB / 0.8169 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.006581, allocations: 1.781 kB / 0.8169 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.289e-05/0.006604, allocations: 7.984 kB / 0.8169 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.006611, allocations: 4.328 kB / 0.8169 GB, free: 12.29 MB / 0.7761 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 (3): * Single equations (assignments): 3 * 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 6.903e-05/0.00668, allocations: 152.6 kB / 0.817 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.422e-05/0.006694, allocations: 8.766 kB / 0.817 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.525e-05/0.006789, allocations: 65.52 kB / 0.8171 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.006791, allocations: 2.312 kB / 0.8171 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.083e-06/0.006793, allocations: 0 / 0.8171 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.006797, allocations: 4 kB / 0.8171 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.946e-05/0.006897, allocations: 105.2 kB / 0.8172 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.006898, allocations: 0 / 0.8172 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.129e-05/0.00693, allocations: 8 kB / 0.8172 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.006931, allocations: 2.031 kB / 0.8172 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-06/0.006937, allocations: 8 kB / 0.8172 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.006938, allocations: 0 / 0.8172 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.00694, allocations: 3.938 kB / 0.8172 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001079/0.007048, allocations: 195.9 kB / 0.8174 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.1e-05/0.007059, allocations: 7.953 kB / 0.8174 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.00707, allocations: 4.484 kB / 0.8174 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.64e-05/0.007107, allocations: 5.031 kB / 0.8174 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.486e-05/0.007152, allocations: 11.92 kB / 0.8174 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.007155, allocations: 1.125 kB / 0.8174 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.051e-05/0.007195, allocations: 127.2 kB / 0.8176 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4e-08/0.007195, allocations: 0 / 0.8176 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001748/0.00737, allocations: 36.73 kB / 0.8176 GB, free: 11.5 MB / 0.7761 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 (3): * Single equations (assignments): 3 * 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.0001667/0.007537, allocations: 140.7 kB / 0.8177 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.408e-05/0.007601, allocations: 19.69 kB / 0.8177 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.007603, allocations: 0 / 0.8177 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.027e-05/0.007623, allocations: 19.61 kB / 0.8178 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001732/0.007796, allocations: 8.5 kB / 0.8178 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002692/0.008065, allocations: 154.8 kB / 0.8179 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.296e-05/0.008098, allocations: 55.22 kB / 0.818 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.211e-05/0.008121, allocations: 12.2 kB / 0.818 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.655e-05/0.008177, allocations: 78.2 kB / 0.8181 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of SimCode: time 5.31e-07/0.008178, allocations: 0 / 0.8181 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of Templates: time 0.003123/0.0113, allocations: 1.595 MB / 0.8196 GB, free: 9.387 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.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.060343651100993]