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.001487/0.001487, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001917/0.001917, allocations: 161 kB / 23.82 MB, free: 0.7539 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.9377/0.9377, allocations: 177.1 MB / 204.2 MB, free: 5.613 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.859/1.859, allocations: 377.8 MB / 0.6236 GB, free: 8.379 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.824e-06/1.824e-06, allocations: 0.9844 kB / 0.8115 GB, free: 1.734 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.722e-05/2.905e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002377/0.002406, allocations: 1.541 MB / 0.813 GB, free: 204 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009383/0.003344, allocations: 0.8096 MB / 0.8138 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.257e-05/0.003377, allocations: 0.5312 kB / 0.8138 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.67e-05/0.003413, allocations: 7.922 kB / 0.8138 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.685e-05/0.00347, allocations: 13.39 kB / 0.8138 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004202/0.00389, allocations: 135.7 kB / 0.814 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 8.123e-05/0.003971, allocations: 57.16 kB / 0.814 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.074e-05/0.004062, allocations: 11.98 kB / 0.814 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.559e-05/0.004118, allocations: 27.97 kB / 0.8141 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4e-05/0.004158, allocations: 21.08 kB / 0.8141 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.004175, allocations: 4 kB / 0.8141 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002314/0.004406, allocations: 159.7 kB / 0.8142 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.844e-05/0.004425, allocations: 17.34 kB / 0.8142 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.663e-05/0.004451, allocations: 12 kB / 0.8143 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.004663, allocations: 159.5 kB / 0.8144 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.004666, allocations: 3.938 kB / 0.8144 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.222e-06/0.004668, allocations: 1.406 kB / 0.8144 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.004673, allocations: 0 / 0.8144 GB, free: 14.78 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.0004008/0.005074, allocations: 416.1 kB / 0.8148 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.005111, allocations: 8.562 kB / 0.8148 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.298e-05/0.005154, allocations: 8.938 kB / 0.8148 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.781e-05/0.005242, allocations: 121.8 kB / 0.8149 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.005254, allocations: 4.375 kB / 0.8149 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.005264, allocations: 4.375 kB / 0.815 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.005405, allocations: 72.83 kB / 0.815 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.005413, allocations: 192 / 0.815 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.005424, allocations: 8.312 kB / 0.815 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.005432, allocations: 384 / 0.815 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.479e-05/0.005467, allocations: 11.94 kB / 0.815 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003052/0.005773, allocations: 274.2 kB / 0.8153 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.113e-05/0.005844, allocations: 39 kB / 0.8153 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.367e-05/0.005867, allocations: 15.77 kB / 0.8154 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001195/0.005987, allocations: 11.98 kB / 0.8154 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.006008, allocations: 37.86 kB / 0.8154 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.006009, allocations: 1.938 kB / 0.8154 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001557/0.006165, allocations: 53.83 kB / 0.8155 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.006195, allocations: 51.41 kB / 0.8155 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.378e-05/0.006269, allocations: 169.9 kB / 0.8157 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.698e-06/0.006279, allocations: 29.64 kB / 0.8157 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.197e-05/0.006321, allocations: 140.8 kB / 0.8158 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.513e-05/0.006336, allocations: 3.953 kB / 0.8158 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-05/0.006362, allocations: 23.36 kB / 0.8159 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.636e-05/0.006459, allocations: 0.4922 MB / 0.8163 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.49e-05/0.006473, allocations: 0 / 0.8163 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.361e-05/0.006487, allocations: 7.984 kB / 0.8163 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.216e-05/0.006519, allocations: 20.27 kB / 0.8164 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-06/0.006521, allocations: 0.5312 kB / 0.8164 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.91e-05/0.00658, allocations: 45.59 kB / 0.8164 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.006592, allocations: 8.719 kB / 0.8164 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.006597, allocations: 3.984 kB / 0.8164 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.006612, allocations: 4.844 kB / 0.8164 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.737e-05/0.006679, allocations: 12 kB / 0.8164 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.006684, allocations: 4.766 kB / 0.8164 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.4e-05/0.006708, allocations: 9.172 kB / 0.8164 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.006715, allocations: 0 / 0.8164 GB, free: 12.5 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 6.039e-05/0.006775, allocations: 156.6 kB / 0.8166 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.389e-05/0.006789, allocations: 8.734 kB / 0.8166 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.908e-05/0.006878, allocations: 57.67 kB / 0.8167 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.00688, allocations: 1.375 kB / 0.8167 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.006882, allocations: 0 / 0.8167 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.006885, allocations: 0 / 0.8167 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.932e-05/0.006974, allocations: 120.6 kB / 0.8168 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.006975, allocations: 1.156 kB / 0.8168 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.817e-05/0.007003, allocations: 15.92 kB / 0.8168 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.007006, allocations: 4 kB / 0.8168 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.007013, allocations: 5.031 kB / 0.8168 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.007013, allocations: 0 / 0.8168 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.007014, allocations: 0 / 0.8168 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.213e-05/0.007106, allocations: 189 kB / 0.817 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.614e-06/0.007114, allocations: 11.95 kB / 0.817 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.07e-05/0.007124, allocations: 7.938 kB / 0.817 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.54e-05/0.00716, allocations: 9.109 kB / 0.817 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.925e-05/0.007199, allocations: 4 kB / 0.817 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.007201, allocations: 4.969 kB / 0.817 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.666e-05/0.007238, allocations: 131.2 kB / 0.8171 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.007238, allocations: 0 / 0.8171 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001755/0.007414, allocations: 33.41 kB / 0.8172 GB, free: 11.69 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.0001814/0.007595, allocations: 143 kB / 0.8173 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.579e-05/0.007691, allocations: 24.33 kB / 0.8173 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.007692, allocations: 0 / 0.8173 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.406e-05/0.007716, allocations: 17.36 kB / 0.8174 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001947/0.007911, allocations: 4 kB / 0.8174 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003562/0.008267, allocations: 158 kB / 0.8175 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.396e-05/0.008311, allocations: 63.86 kB / 0.8176 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.294e-05/0.008334, allocations: 11.27 kB / 0.8176 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.583e-05/0.00836, allocations: 8.5 kB / 0.8176 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of SimCode: time 6.32e-07/0.00836, allocations: 0 / 0.8176 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of Templates: time 0.003964/0.01232, allocations: 1.562 MB / 0.8191 GB, free: 9.672 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: 4.9144670511595905]