Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Functions.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.001424/0.001424, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001612/0.001612, allocations: 161 kB / 23.82 MB, free: 0.75 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.9696/0.9696, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.94/1.94, allocations: 377.8 MB / 0.6236 GB, free: 8.574 MB / 0.5886 GB " [Timeout remaining time 178] 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.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.8115 GB, free: 1.762 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.915e-05/2.069e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.758 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001906/0.001927, allocations: 1.323 MB / 0.8128 GB, free: 456 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009386/0.002866, allocations: 0.838 MB / 0.8136 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.089e-05/0.002886, allocations: 4 kB / 0.8136 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.079e-05/0.002907, allocations: 0 / 0.8136 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.426e-05/0.002951, allocations: 5.312 kB / 0.8137 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004221/0.003374, allocations: 133.1 kB / 0.8138 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 7.497e-05/0.003449, allocations: 31.8 kB / 0.8138 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.789e-05/0.003487, allocations: 4 kB / 0.8138 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.259e-05/0.003539, allocations: 11.98 kB / 0.8138 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.594e-05/0.003595, allocations: 7.984 kB / 0.8138 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.003609, allocations: 1.094 kB / 0.8138 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002254/0.003834, allocations: 167.6 kB / 0.814 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.69e-05/0.003851, allocations: 0 / 0.814 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.866e-05/0.00387, allocations: 4.938 kB / 0.814 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002044/0.004074, allocations: 143.6 kB / 0.8141 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.004076, allocations: 1 kB / 0.8141 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.61e-07/0.004077, allocations: 0 / 0.8141 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.868e-06/0.004081, allocations: 0 / 0.8141 GB, free: 15.11 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003619/0.004443, allocations: 394.6 kB / 0.8145 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.004481, allocations: 8.031 kB / 0.8145 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.258e-05/0.004524, allocations: 8.938 kB / 0.8145 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.649e-05/0.0046, allocations: 116.5 kB / 0.8146 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.767e-05/0.004668, allocations: 51.97 kB / 0.8147 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.00468, allocations: 4.375 kB / 0.8147 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.004805, allocations: 85.12 kB / 0.8148 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.004811, allocations: 0.9062 kB / 0.8148 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.004821, allocations: 384 / 0.8148 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.004829, allocations: 8.641 kB / 0.8148 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.873e-05/0.004858, allocations: 5.594 kB / 0.8148 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001201/0.004978, allocations: 116.6 kB / 0.8149 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/0.005136, allocations: 51.03 kB / 0.8149 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.209e-05/0.005158, allocations: 19.77 kB / 0.815 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001573/0.005316, allocations: 21.98 kB / 0.815 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.005338, allocations: 37.38 kB / 0.815 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 1.894e-06/0.00534, allocations: 8.516 kB / 0.815 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0001368/0.005477, allocations: 54.39 kB / 0.8151 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.444e-05/0.005501, allocations: 55.34 kB / 0.8151 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.26e-05/0.005564, allocations: 162.7 kB / 0.8153 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.005574, allocations: 25.7 kB / 0.8153 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 2.823e-05/0.005602, allocations: 127.8 kB / 0.8154 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.005627, allocations: 15.91 kB / 0.8155 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.109e-05/0.005658, allocations: 24.58 kB / 0.8155 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.915e-05/0.005757, allocations: 492.1 kB / 0.8159 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.71e-05/0.005774, allocations: 8 kB / 0.816 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.28e-05/0.005787, allocations: 8.922 kB / 0.816 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.325e-05/0.00582, allocations: 19.69 kB / 0.816 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.005822, allocations: 2.219 kB / 0.816 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.071e-05/0.005883, allocations: 53.62 kB / 0.816 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.005893, allocations: 4 kB / 0.816 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.005897, allocations: 0 / 0.816 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.005911, allocations: 0 / 0.816 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.502e-05/0.005946, allocations: 8 kB / 0.816 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.005952, allocations: 7.125 kB / 0.8161 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.442e-05/0.005967, allocations: 3.938 kB / 0.8161 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.005971, allocations: 4 kB / 0.8161 GB, free: 12.93 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 (4): * Single equations (assignments): 4 * 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.703e-05/0.006028, allocations: 156.6 kB / 0.8162 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.784e-06/0.006036, allocations: 8 kB / 0.8162 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.765e-05/0.006124, allocations: 53.36 kB / 0.8163 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.006127, allocations: 7.938 kB / 0.8163 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.00613, allocations: 4 kB / 0.8163 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.006134, allocations: 9.031 kB / 0.8163 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.509e-05/0.006199, allocations: 120.6 kB / 0.8164 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.0062, allocations: 0 / 0.8164 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.97e-05/0.006219, allocations: 8.562 kB / 0.8164 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.006221, allocations: 0.5 kB / 0.8164 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.006227, allocations: 0.5625 kB / 0.8164 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.006228, allocations: 0 / 0.8164 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.006229, allocations: 1.625 kB / 0.8164 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.132e-05/0.0063, allocations: 92.92 kB / 0.8165 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.894e-05/0.006329, allocations: 4 kB / 0.8165 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.885e-06/0.006337, allocations: 0 / 0.8165 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.921e-05/0.006357, allocations: 5.188 kB / 0.8165 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.091e-05/0.006387, allocations: 3.984 kB / 0.8165 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.006391, allocations: 7.984 kB / 0.8165 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.427e-05/0.006425, allocations: 132.2 kB / 0.8166 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.006426, allocations: 0 / 0.8166 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001636/0.006589, allocations: 35.86 kB / 0.8167 GB, free: 12.22 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 (4): * Single equations (assignments): 4 * 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.0001608/0.00675, allocations: 148.5 kB / 0.8168 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.771e-05/0.006828, allocations: 23.67 kB / 0.8168 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.006829, allocations: 1.125 kB / 0.8168 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.027e-05/0.006849, allocations: 19.62 kB / 0.8169 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001392/0.006988, allocations: 9.031 kB / 0.8169 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004681/0.007457, allocations: 127.5 kB / 0.817 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.198e-05/0.007489, allocations: 64.3 kB / 0.8171 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.604e-05/0.007515, allocations: 1.625 kB / 0.8171 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.588e-05/0.00754, allocations: 15.78 kB / 0.8171 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of SimCode: time 5.01e-07/0.007541, allocations: 0 / 0.8171 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of Templates: time 0.002664/0.01021, allocations: 1.152 MB / 0.8182 GB, free: 10.62 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_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.2863566796295345]