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.001018/0.001018, 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.0009537/0.0009537, 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.9177/0.9177, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.945/1.945, allocations: 377.8 MB / 0.6236 GB, free: 8.574 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.764e-06/1.764e-06, allocations: 0 / 0.8115 GB, free: 1.785 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.3e-05/2.477e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.781 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.001932/0.001957, allocations: 1.552 MB / 0.813 GB, free: 244 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.000973/0.00293, allocations: 0.8139 MB / 0.8138 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.94e-05/0.002969, allocations: 0.9062 kB / 0.8138 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.238e-05/0.003001, allocations: 3.938 kB / 0.8138 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.992e-05/0.003051, allocations: 12.53 kB / 0.8138 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004364/0.003488, allocations: 137.4 kB / 0.814 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 8.416e-05/0.003572, allocations: 59.77 kB / 0.814 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.832e-05/0.00366, allocations: 8 kB / 0.814 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.52e-05/0.003715, allocations: 29.59 kB / 0.8141 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.836e-05/0.003754, allocations: 15.92 kB / 0.8141 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.003768, allocations: 4 kB / 0.8141 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002504/0.004019, allocations: 167.7 kB / 0.8142 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.717e-05/0.004036, allocations: 11.94 kB / 0.8142 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.588e-05/0.004062, allocations: 13.33 kB / 0.8143 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002221/0.004284, allocations: 155.5 kB / 0.8144 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.004287, allocations: 0 / 0.8144 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.543e-06/0.004288, allocations: 0.7812 kB / 0.8144 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.004293, allocations: 3.938 kB / 0.8144 GB, free: 14.82 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.0004223/0.004715, allocations: 417.1 kB / 0.8148 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.004754, allocations: 12.03 kB / 0.8148 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.16e-05/0.004795, allocations: 6.156 kB / 0.8148 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.398e-05/0.004889, allocations: 128.4 kB / 0.8149 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.004903, allocations: 4.359 kB / 0.815 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.004916, allocations: 5 kB / 0.815 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.00506, allocations: 72 kB / 0.815 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.00507, allocations: 192 / 0.815 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.005079, allocations: 384 / 0.815 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.005088, allocations: 384 / 0.815 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.621e-05/0.005124, allocations: 16.78 kB / 0.815 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002934/0.005418, allocations: 267.7 kB / 0.8153 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.173e-05/0.005489, allocations: 43.61 kB / 0.8153 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.29e-05/0.005512, allocations: 8.875 kB / 0.8153 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000126/0.005638, allocations: 16.08 kB / 0.8154 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.005663, allocations: 39.14 kB / 0.8154 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.005664, allocations: 0 / 0.8154 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.000172/0.005836, allocations: 53.58 kB / 0.8155 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.005873, allocations: 55.41 kB / 0.8155 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.063e-05/0.005954, allocations: 167.5 kB / 0.8157 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.005965, allocations: 25.7 kB / 0.8157 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.736e-05/0.006022, allocations: 142.8 kB / 0.8158 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.979e-05/0.006042, allocations: 7.953 kB / 0.8158 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.02e-05/0.006072, allocations: 19.88 kB / 0.8159 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.006187, allocations: 496.1 kB / 0.8163 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.169e-05/0.006209, allocations: 4.562 kB / 0.8163 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.666e-05/0.006226, allocations: 12.48 kB / 0.8163 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.576e-05/0.006262, allocations: 15.97 kB / 0.8164 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.006264, allocations: 1.406 kB / 0.8164 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.394e-05/0.006338, allocations: 57.5 kB / 0.8164 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.006351, allocations: 4 kB / 0.8164 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.006357, allocations: 4.531 kB / 0.8164 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.006373, allocations: 0 / 0.8164 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.123e-05/0.006454, allocations: 12.61 kB / 0.8164 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.00646, allocations: 1.969 kB / 0.8164 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.408e-05/0.006484, allocations: 4 kB / 0.8164 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.006491, allocations: 4 kB / 0.8164 GB, free: 12.54 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.252e-05/0.006564, allocations: 156.6 kB / 0.8166 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.838e-05/0.006582, allocations: 8.453 kB / 0.8166 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001124/0.006695, allocations: 61.59 kB / 0.8167 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.006696, allocations: 0.7188 kB / 0.8167 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-06/0.0067, allocations: 0 / 0.8167 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.006703, allocations: 0.8125 kB / 0.8167 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002512/0.006954, allocations: 124.6 kB / 0.8168 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.006956, allocations: 0.9375 kB / 0.8168 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.467e-05/0.00699, allocations: 15.98 kB / 0.8168 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.006993, allocations: 1.344 kB / 0.8168 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.007, allocations: 3.938 kB / 0.8168 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.007001, allocations: 4 kB / 0.8168 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.007001, allocations: 0 / 0.8168 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001024/0.007104, allocations: 188.8 kB / 0.817 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.516e-06/0.007112, allocations: 11.95 kB / 0.817 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.087e-05/0.007123, allocations: 6.188 kB / 0.817 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.733e-05/0.00716, allocations: 7.984 kB / 0.817 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.194e-05/0.007202, allocations: 11.92 kB / 0.817 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.007206, allocations: 0 / 0.817 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.633e-05/0.007242, allocations: 127.2 kB / 0.8171 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.007242, allocations: 0 / 0.8171 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001913/0.007433, allocations: 43.3 kB / 0.8172 GB, free: 11.72 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.0001755/0.007609, allocations: 135.1 kB / 0.8173 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.061e-05/0.007699, allocations: 19.67 kB / 0.8173 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.007702, allocations: 4 kB / 0.8173 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.908e-05/0.007731, allocations: 15.62 kB / 0.8173 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001898/0.00792, allocations: 11.98 kB / 0.8174 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002781/0.008199, allocations: 151.8 kB / 0.8175 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.548e-05/0.008234, allocations: 60.16 kB / 0.8176 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.885e-05/0.008253, allocations: 0.5 kB / 0.8176 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.734e-05/0.00828, allocations: 13 kB / 0.8176 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of SimCode: time 7.72e-07/0.008281, allocations: 0 / 0.8176 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of Templates: time 0.003077/0.01136, allocations: 1.426 MB / 0.819 GB, free: 9.867 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.2046940377913415]