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.0009194/0.0009194, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.001178/0.001178, allocations: 169 kB / 24.28 MB, free: 272 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.9635/0.9635, allocations: 177.1 MB / 204.6 MB, free: 5.598 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.924/1.924, allocations: 377.8 MB / 0.6239 GB, free: 8.547 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.142e-06/1.142e-06, allocations: 0 / 0.8115 GB, free: 2.043 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.577e-05/1.691e-05, allocations: 3.062 kB / 0.8115 GB, free: 2.039 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001493/0.00151, allocations: 1.325 MB / 0.8128 GB, free: 0.7227 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009166/0.002427, allocations: 0.8362 MB / 0.8136 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.641e-05/0.002453, allocations: 1.75 kB / 0.8136 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 1.955e-05/0.002473, allocations: 0 / 0.8136 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 3.73e-05/0.00251, allocations: 0 / 0.8136 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004175/0.002928, allocations: 136.4 kB / 0.8138 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.562e-05/0.002993, allocations: 31.86 kB / 0.8138 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.456e-05/0.003028, allocations: 1.125 kB / 0.8138 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.262e-05/0.00308, allocations: 15.98 kB / 0.8138 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.081e-05/0.003131, allocations: 7.984 kB / 0.8138 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.003144, allocations: 0.8125 kB / 0.8138 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002122/0.003356, allocations: 163.6 kB / 0.814 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.83e-05/0.003374, allocations: 10.16 kB / 0.814 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.77e-05/0.003392, allocations: 4 kB / 0.814 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001976/0.00359, allocations: 143.5 kB / 0.8141 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.704e-06/0.003591, allocations: 0 / 0.8141 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.51e-07/0.003592, allocations: 0 / 0.8141 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.003596, allocations: 0 / 0.8141 GB, free: 15.38 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.0003604/0.003956, allocations: 388.9 kB / 0.8145 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.003992, allocations: 8.75 kB / 0.8145 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.457e-05/0.004037, allocations: 8.938 kB / 0.8145 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.578e-05/0.004123, allocations: 113.1 kB / 0.8146 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.255e-05/0.004195, allocations: 57.56 kB / 0.8147 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.657e-06/0.004204, allocations: 4.312 kB / 0.8147 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.004318, allocations: 84.59 kB / 0.8148 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.004324, allocations: 192 / 0.8148 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.004333, allocations: 4.984 kB / 0.8148 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.004341, allocations: 4.125 kB / 0.8148 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.666e-05/0.004367, allocations: 4.906 kB / 0.8148 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001124/0.00448, allocations: 120.6 kB / 0.8149 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.004623, allocations: 47.78 kB / 0.8149 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.049e-05/0.004644, allocations: 16.36 kB / 0.815 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001482/0.004792, allocations: 29.67 kB / 0.815 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.004814, allocations: 41.38 kB / 0.815 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 1.673e-06/0.004816, allocations: 1.219 kB / 0.815 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0001329/0.004949, allocations: 53.64 kB / 0.8151 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/0.004973, allocations: 51.41 kB / 0.8151 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.227e-05/0.005036, allocations: 162.8 kB / 0.8153 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.248e-06/0.005045, allocations: 25.7 kB / 0.8153 GB, free: 14 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 2.809e-05/0.005073, allocations: 126.9 kB / 0.8154 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.005095, allocations: 18.2 kB / 0.8154 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.578e-05/0.005121, allocations: 23.38 kB / 0.8155 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.639e-05/0.005217, allocations: 492.1 kB / 0.8159 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.582e-05/0.005233, allocations: 7.938 kB / 0.8159 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.2e-05/0.005245, allocations: 7.984 kB / 0.8159 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.338e-05/0.005279, allocations: 23.53 kB / 0.816 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.00528, allocations: 0 / 0.816 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.444e-05/0.005335, allocations: 53.67 kB / 0.816 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.599e-06/0.005344, allocations: 4 kB / 0.816 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.005348, allocations: 0 / 0.816 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.00536, allocations: 4 kB / 0.816 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.047e-05/0.005391, allocations: 4 kB / 0.816 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.005397, allocations: 7.875 kB / 0.816 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.45e-05/0.005412, allocations: 8 kB / 0.816 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.878e-06/0.005416, allocations: 0.9688 kB / 0.816 GB, free: 13.2 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 0.0002073/0.005623, allocations: 156.6 kB / 0.8162 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.764e-06/0.005631, allocations: 4.5 kB / 0.8162 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.509e-05/0.005716, allocations: 61.92 kB / 0.8163 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.005718, allocations: 0.5625 kB / 0.8163 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.005721, allocations: 3.938 kB / 0.8163 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.005726, allocations: 4.969 kB / 0.8163 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.39e-05/0.00579, allocations: 124.5 kB / 0.8164 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.005791, allocations: 0 / 0.8164 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.171e-05/0.005813, allocations: 9.094 kB / 0.8164 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.005815, allocations: 0 / 0.8164 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.005823, allocations: 4 kB / 0.8164 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.005825, allocations: 4.594 kB / 0.8164 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.005829, allocations: 4.578 kB / 0.8164 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.975e-05/0.005899, allocations: 88.38 kB / 0.8165 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.826e-05/0.005927, allocations: 5.062 kB / 0.8165 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.646e-06/0.005936, allocations: 0 / 0.8165 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.931e-05/0.005955, allocations: 4.938 kB / 0.8165 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.025e-05/0.005985, allocations: 3.984 kB / 0.8165 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.005989, allocations: 4 kB / 0.8165 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.005e-05/0.006019, allocations: 124.2 kB / 0.8166 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006019, allocations: 0 / 0.8166 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001642/0.006183, allocations: 39.86 kB / 0.8167 GB, free: 12.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 (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.0001577/0.006341, allocations: 144.1 kB / 0.8168 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.044e-05/0.006432, allocations: 32.73 kB / 0.8168 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.006433, allocations: 0 / 0.8168 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.891e-05/0.006452, allocations: 16.62 kB / 0.8168 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001451/0.006597, allocations: 8 kB / 0.8169 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004791/0.007076, allocations: 137.2 kB / 0.817 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.401e-05/0.00711, allocations: 63.2 kB / 0.817 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.556e-05/0.007136, allocations: 1.219 kB / 0.817 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.908e-05/0.007155, allocations: 12.5 kB / 0.8171 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of SimCode: time 4.1e-07/0.007155, allocations: 0.5938 kB / 0.8171 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of Templates: time 0.00252/0.009675, allocations: 1.15 MB / 0.8182 GB, free: 10.91 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.045151775935665]