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.001349/0.001349, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.0009992/0.0009992, allocations: 165.6 kB / 24.87 MB, free: 8.891 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.9863/0.9863, allocations: 177.2 MB / 205.3 MB, free: 5.473 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.941/1.941, allocations: 377.9 MB / 0.6247 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.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.182e-06/1.182e-06, allocations: 0 / 0.8128 GB, free: 1.426 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.517e-05/1.635e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.422 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001593/0.001609, allocations: 1.315 MB / 0.8141 GB, free: 120 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009334/0.002543, allocations: 0.8296 MB / 0.8149 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.202e-05/0.002565, allocations: 4 kB / 0.8149 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 1.726e-05/0.002582, allocations: 4.594 kB / 0.8149 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.049e-05/0.002622, allocations: 4.484 kB / 0.8149 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000374/0.002997, allocations: 129.1 kB / 0.815 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.782e-05/0.003064, allocations: 35.78 kB / 0.8151 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.278e-05/0.003097, allocations: 6.312 kB / 0.8151 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.034e-05/0.003147, allocations: 11.98 kB / 0.8151 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.282e-05/0.0032, allocations: 11.98 kB / 0.8151 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.003217, allocations: 0 / 0.8151 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002164/0.003433, allocations: 163.6 kB / 0.8152 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.83e-05/0.003452, allocations: 0 / 0.8152 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.644e-05/0.003468, allocations: 7.984 kB / 0.8152 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001895/0.003658, allocations: 140.2 kB / 0.8154 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.00366, allocations: 1.531 kB / 0.8154 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.01e-07/0.003661, allocations: 0 / 0.8154 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.266e-06/0.003664, allocations: 0 / 0.8154 GB, free: 14.79 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.0003159/0.00398, allocations: 396.2 kB / 0.8158 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.004012, allocations: 9.25 kB / 0.8158 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.949e-05/0.004041, allocations: 4.938 kB / 0.8158 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.935e-05/0.00411, allocations: 116.6 kB / 0.8159 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.351e-05/0.004164, allocations: 56.45 kB / 0.8159 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.384e-06/0.004171, allocations: 4.375 kB / 0.8159 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.717e-05/0.004258, allocations: 81.12 kB / 0.816 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.004265, allocations: 4.719 kB / 0.816 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.001e-06/0.004271, allocations: 1.25 kB / 0.816 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.004276, allocations: 4.125 kB / 0.816 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.953e-05/0.004296, allocations: 4.812 kB / 0.816 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.743e-05/0.004393, allocations: 101.2 kB / 0.8161 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.004511, allocations: 43.53 kB / 0.8162 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.671e-05/0.004527, allocations: 17.19 kB / 0.8162 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001185/0.004646, allocations: 25.12 kB / 0.8162 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.00467, allocations: 45.39 kB / 0.8163 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.004671, allocations: 0 / 0.8163 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0003671/0.005038, allocations: 54.27 kB / 0.8163 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.279e-05/0.005061, allocations: 52.09 kB / 0.8164 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.445e-05/0.005116, allocations: 162.1 kB / 0.8165 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.005129, allocations: 26.33 kB / 0.8165 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.252e-05/0.005162, allocations: 126.9 kB / 0.8167 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.428e-05/0.005186, allocations: 17.2 kB / 0.8167 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.563e-05/0.005212, allocations: 19.38 kB / 0.8167 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.005316, allocations: 0.4922 MB / 0.8172 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.078e-05/0.005327, allocations: 4.812 kB / 0.8172 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.048e-05/0.005337, allocations: 8.172 kB / 0.8172 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.7e-05/0.005364, allocations: 21.39 kB / 0.8172 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.005366, allocations: 0 / 0.8172 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.35e-05/0.00542, allocations: 49.62 kB / 0.8173 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.005431, allocations: 4 kB / 0.8173 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.005435, allocations: 0.9062 kB / 0.8173 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.073e-06/0.005442, allocations: 4 kB / 0.8173 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.162e-05/0.005473, allocations: 7.438 kB / 0.8173 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.324e-06/0.005476, allocations: 0 / 0.8173 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.59e-05/0.005492, allocations: 11.86 kB / 0.8173 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-06/0.005495, allocations: 4 kB / 0.8173 GB, free: 12.63 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.348e-05/0.005549, allocations: 152.6 kB / 0.8174 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.186e-06/0.005557, allocations: 8 kB / 0.8174 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.97e-05/0.005627, allocations: 53.31 kB / 0.8175 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.005628, allocations: 0 / 0.8175 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.00563, allocations: 0.5 kB / 0.8175 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.005633, allocations: 11.92 kB / 0.8175 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.015e-05/0.005693, allocations: 107.1 kB / 0.8176 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.005694, allocations: 0 / 0.8176 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.89e-05/0.005713, allocations: 4 kB / 0.8176 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.92e-07/0.005714, allocations: 0 / 0.8176 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.629e-06/0.005718, allocations: 4 kB / 0.8176 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.00572, allocations: 5.266 kB / 0.8176 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.00572, allocations: 0 / 0.8176 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.172e-05/0.005782, allocations: 92.34 kB / 0.8177 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.504e-05/0.005807, allocations: 5.312 kB / 0.8177 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.254e-06/0.005814, allocations: 0 / 0.8177 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.673e-05/0.005831, allocations: 0 / 0.8177 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.539e-05/0.005856, allocations: 7.922 kB / 0.8177 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.00586, allocations: 8.906 kB / 0.8177 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.746e-05/0.005887, allocations: 119.2 kB / 0.8178 GB, free: 12 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005888, allocations: 0.8438 kB / 0.8178 GB, free: 12 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001508/0.006038, allocations: 35.86 kB / 0.8179 GB, free: 11.97 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.0001303/0.006169, allocations: 140.3 kB / 0.818 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.002e-05/0.006229, allocations: 28.27 kB / 0.818 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.00623, allocations: 0 / 0.818 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.856e-05/0.006248, allocations: 26.2 kB / 0.8181 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001225/0.006371, allocations: 14.17 kB / 0.8181 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003525/0.006723, allocations: 129.6 kB / 0.8182 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.873e-05/0.006752, allocations: 59.2 kB / 0.8183 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.77e-05/0.00678, allocations: 9.016 kB / 0.8183 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.141e-05/0.006831, allocations: 74.2 kB / 0.8183 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of SimCode: time 4.41e-07/0.006832, allocations: 0 / 0.8183 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of Templates: time 0.002581/0.009413, allocations: 1.313 MB / 0.8196 GB, free: 10.15 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.109213626943529]