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.001074/0.001074, 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.0009829/0.0009829, allocations: 162.8 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 1.007/1.007, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.856/1.856, allocations: 377.9 MB / 0.6247 GB, free: 8.402 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.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 1.994e-06/1.994e-06, allocations: 0 / 0.8128 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.43e-05/2.629e-05, allocations: 3.219 kB / 0.8128 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.0064/0.006426, allocations: 1.529 MB / 0.8143 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.004344/0.01077, allocations: 0.8029 MB / 0.815 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.451e-05/0.01082, allocations: 0 / 0.815 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.613e-05/0.01086, allocations: 3.938 kB / 0.815 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.436e-05/0.01093, allocations: 13.47 kB / 0.8151 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005627/0.01149, allocations: 140.8 kB / 0.8152 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.01159, allocations: 55.78 kB / 0.8152 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.01169, allocations: 8 kB / 0.8153 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 7.174e-05/0.01177, allocations: 31.91 kB / 0.8153 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.813e-05/0.01181, allocations: 17.22 kB / 0.8153 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.01183, allocations: 8 kB / 0.8153 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003282/0.01216, allocations: 163.6 kB / 0.8155 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.605e-05/0.01219, allocations: 9.281 kB / 0.8155 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.73e-05/0.01221, allocations: 15.92 kB / 0.8155 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004055/0.01262, allocations: 155.5 kB / 0.8156 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.01262, allocations: 2.094 kB / 0.8156 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.383e-06/0.01262, allocations: 0 / 0.8156 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.01263, allocations: 0 / 0.8156 GB, free: 14.51 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.0004376/0.01307, allocations: 420.1 kB / 0.816 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.0131, allocations: 12.03 kB / 0.816 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003063/0.01617, allocations: 5.469 kB / 0.8161 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.01628, allocations: 132.4 kB / 0.8162 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.01629, allocations: 1.094 kB / 0.8162 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.0163, allocations: 8.312 kB / 0.8162 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.01646, allocations: 64.97 kB / 0.8163 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.01647, allocations: 192 / 0.8163 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.01648, allocations: 4.375 kB / 0.8163 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.01648, allocations: 384 / 0.8163 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.993e-05/0.01651, allocations: 8.562 kB / 0.8163 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002937/0.01681, allocations: 260.3 kB / 0.8165 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.059e-05/0.01688, allocations: 35.97 kB / 0.8165 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.271e-05/0.0169, allocations: 11.77 kB / 0.8166 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001209/0.01702, allocations: 16.73 kB / 0.8166 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.01705, allocations: 41.98 kB / 0.8166 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.01705, allocations: 1.344 kB / 0.8166 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001669/0.01722, allocations: 49.53 kB / 0.8167 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.01725, allocations: 55.39 kB / 0.8167 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.786e-05/0.01734, allocations: 170 kB / 0.8169 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.01735, allocations: 27.45 kB / 0.8169 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.518e-05/0.0174, allocations: 138.8 kB / 0.817 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.948e-05/0.01742, allocations: 7.953 kB / 0.817 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.092e-05/0.01746, allocations: 27.36 kB / 0.8171 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.01759, allocations: 497.1 kB / 0.8175 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.806e-05/0.01761, allocations: 4 kB / 0.8175 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.375e-05/0.01763, allocations: 0 / 0.8175 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.871e-05/0.01767, allocations: 17.98 kB / 0.8176 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.01767, allocations: 4 kB / 0.8176 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.667e-05/0.01775, allocations: 45.59 kB / 0.8176 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.01777, allocations: 11.94 kB / 0.8176 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.01777, allocations: 0 / 0.8176 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.01778, allocations: 0 / 0.8176 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.887e-05/0.01786, allocations: 15.42 kB / 0.8176 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.134e-06/0.01786, allocations: 0 / 0.8176 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.592e-05/0.0179, allocations: 7.984 kB / 0.8176 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.01791, allocations: 0 / 0.8176 GB, free: 12.27 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 7.998e-05/0.01799, allocations: 156.6 kB / 0.8178 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.749e-05/0.01801, allocations: 3.953 kB / 0.8178 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001065/0.01812, allocations: 61.88 kB / 0.8179 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.01812, allocations: 3.984 kB / 0.8179 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.01813, allocations: 0.9531 kB / 0.8179 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.01813, allocations: 3.984 kB / 0.8179 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001346/0.01826, allocations: 105.8 kB / 0.818 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.01827, allocations: 3.984 kB / 0.818 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.968e-05/0.01832, allocations: 8.562 kB / 0.818 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.01832, allocations: 0.5625 kB / 0.818 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-06/0.01832, allocations: 5.125 kB / 0.818 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.01833, allocations: 0 / 0.818 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.01833, allocations: 3.938 kB / 0.818 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001258/0.01846, allocations: 191.9 kB / 0.8182 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.05e-05/0.01847, allocations: 8.703 kB / 0.8182 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/0.01848, allocations: 3.984 kB / 0.8182 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.798e-05/0.01855, allocations: 8.438 kB / 0.8182 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.773e-05/0.01858, allocations: 16.73 kB / 0.8182 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.01859, allocations: 0 / 0.8182 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.389e-05/0.01863, allocations: 124.1 kB / 0.8183 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01863, allocations: 0 / 0.8183 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002147/0.02078, allocations: 37.11 kB / 0.8184 GB, free: 11.48 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.0002232/0.021, allocations: 135.1 kB / 0.8185 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.808e-05/0.02109, allocations: 20.81 kB / 0.8185 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.02109, allocations: 0 / 0.8185 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.776e-05/0.02112, allocations: 15.62 kB / 0.8185 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.02139, allocations: 19.95 kB / 0.8185 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002967/0.02168, allocations: 150.1 kB / 0.8187 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.281e-05/0.02173, allocations: 59.22 kB / 0.8187 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.96e-05/0.02176, allocations: 3.984 kB / 0.8187 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.153e-05/0.02183, allocations: 79.11 kB / 0.8188 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of SimCode: time 5.61e-07/0.02183, allocations: 0 / 0.8188 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of Templates: time 0.004527/0.02636, allocations: 1.614 MB / 0.8204 GB, free: 9.359 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.128787104971707]