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.0009681/0.0009681, 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.0009726/0.0009726, 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.9229/0.9229, allocations: 177.1 MB / 204.2 MB, free: 5.59 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.852/1.852, allocations: 377.8 MB / 0.6236 GB, free: 8.539 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.342e-06/1.342e-06, allocations: 0 / 0.8115 GB, free: 1.734 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.346e-05/1.48e-05, allocations: 5.125 kB / 0.8116 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001523/0.001538, allocations: 1.312 MB / 0.8128 GB, free: 436 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009585/0.002496, allocations: 0.8419 MB / 0.8137 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.662e-05/0.002523, allocations: 0 / 0.8137 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.325e-05/0.002546, allocations: 3.984 kB / 0.8137 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.337e-05/0.00259, allocations: 5.031 kB / 0.8137 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007561/0.003346, allocations: 132.9 kB / 0.8138 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 7.103e-05/0.003417, allocations: 31.8 kB / 0.8138 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.057e-05/0.003447, allocations: 0 / 0.8138 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 4.795e-05/0.003495, allocations: 15.97 kB / 0.8138 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.169e-05/0.003547, allocations: 16.7 kB / 0.8139 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.00356, allocations: 0 / 0.8139 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002111/0.003771, allocations: 160.2 kB / 0.814 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.81e-05/0.003789, allocations: 5.609 kB / 0.814 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.803e-05/0.003807, allocations: 7.984 kB / 0.814 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001891/0.003996, allocations: 139.6 kB / 0.8142 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.003998, allocations: 0 / 0.8142 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.353e-06/0.004, allocations: 4 kB / 0.8142 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.004004, allocations: 0.625 kB / 0.8142 GB, free: 15.08 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.0003307/0.004334, allocations: 393 kB / 0.8145 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.004368, allocations: 8.031 kB / 0.8145 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.938e-05/0.004407, allocations: 9.625 kB / 0.8145 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.086e-05/0.004478, allocations: 113.4 kB / 0.8147 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.631e-05/0.004545, allocations: 55.97 kB / 0.8147 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.004555, allocations: 4.375 kB / 0.8147 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.004662, allocations: 78.03 kB / 0.8148 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-06/0.004668, allocations: 192 / 0.8148 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.004677, allocations: 4.312 kB / 0.8148 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.004684, allocations: 9.875 kB / 0.8148 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.836e-05/0.004712, allocations: 7.984 kB / 0.8148 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000117/0.004829, allocations: 116.6 kB / 0.8149 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000143/0.004972, allocations: 47.03 kB / 0.815 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.123e-05/0.004993, allocations: 17.91 kB / 0.815 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001426/0.005136, allocations: 28.06 kB / 0.815 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.005155, allocations: 33.39 kB / 0.815 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.005156, allocations: 3.125 kB / 0.815 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0001348/0.005291, allocations: 57.64 kB / 0.8151 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.288e-05/0.005314, allocations: 55.34 kB / 0.8152 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.323e-05/0.005377, allocations: 165.9 kB / 0.8153 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.005388, allocations: 25.7 kB / 0.8153 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 2.687e-05/0.005415, allocations: 126.9 kB / 0.8155 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.509e-05/0.00544, allocations: 15.91 kB / 0.8155 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.409e-05/0.005464, allocations: 20.62 kB / 0.8155 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.005565, allocations: 0.4884 MB / 0.816 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.603e-05/0.005581, allocations: 4 kB / 0.816 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.104e-05/0.005592, allocations: 4.625 kB / 0.816 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.27e-05/0.005625, allocations: 20.16 kB / 0.816 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-06/0.005626, allocations: 0.5625 kB / 0.816 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.62e-05/0.005682, allocations: 58.45 kB / 0.816 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.005693, allocations: 4 kB / 0.8161 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.005697, allocations: 1.094 kB / 0.8161 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.005707, allocations: 0 / 0.8161 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.326e-05/0.00574, allocations: 11.98 kB / 0.8161 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.005749, allocations: 6.375 kB / 0.8161 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.387e-05/0.005763, allocations: 3.938 kB / 0.8161 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.539e-06/0.005768, allocations: 0 / 0.8161 GB, free: 12.9 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 6.252e-05/0.00583, allocations: 156.6 kB / 0.8162 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.145e-06/0.005838, allocations: 8 kB / 0.8162 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.112e-05/0.005919, allocations: 57.34 kB / 0.8163 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.005921, allocations: 4.469 kB / 0.8163 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.005924, allocations: 0.8125 kB / 0.8163 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.005928, allocations: 3.938 kB / 0.8163 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.98e-05/0.005988, allocations: 121.5 kB / 0.8164 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.005991, allocations: 7.922 kB / 0.8164 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.68e-05/0.006008, allocations: 4 kB / 0.8164 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.006009, allocations: 1.219 kB / 0.8164 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/0.006015, allocations: 4 kB / 0.8164 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.006015, allocations: 0 / 0.8164 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.006017, allocations: 4.844 kB / 0.8164 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.442e-05/0.006081, allocations: 88.38 kB / 0.8165 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.874e-05/0.00611, allocations: 8.766 kB / 0.8165 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.684e-06/0.006118, allocations: 0 / 0.8165 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.633e-05/0.006134, allocations: 1.156 kB / 0.8165 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.899e-05/0.006163, allocations: 4 kB / 0.8165 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.006168, allocations: 11.92 kB / 0.8165 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.837e-05/0.006196, allocations: 128.1 kB / 0.8167 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006196, allocations: 0 / 0.8167 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001601/0.006356, allocations: 31.88 kB / 0.8167 GB, free: 12.2 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.0001445/0.006501, allocations: 148.1 kB / 0.8168 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.269e-05/0.006574, allocations: 24.8 kB / 0.8169 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.006575, allocations: 0 / 0.8169 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.05e-05/0.006596, allocations: 28.58 kB / 0.8169 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001342/0.00673, allocations: 4 kB / 0.8169 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004368/0.007167, allocations: 128.8 kB / 0.817 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.701e-05/0.007194, allocations: 55.22 kB / 0.8171 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.829e-05/0.007222, allocations: 6.75 kB / 0.8171 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.257e-05/0.007244, allocations: 13.16 kB / 0.8171 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of SimCode: time 6.01e-07/0.007245, allocations: 0 / 0.8171 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of Templates: time 0.002731/0.009976, allocations: 1.29 MB / 0.8183 GB, free: 10.46 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: 4.752104606945068]