Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00104/0.00104, allocations: 77.97 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.001085/0.001085, allocations: 156.8 kB / 24.86 MB, free: 9.273 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.9744/0.9744, allocations: 177.2 MB / 205.3 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.779/1.779, allocations: 359 MB / 0.6063 GB, free: 10.87 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.7883 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.685e-05/2.849e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.003371/0.003399, allocations: 1.554 MB / 0.7898 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001442/0.004841, allocations: 0.8023 MB / 0.7906 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.286e-05/0.004894, allocations: 8.562 kB / 0.7906 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.268e-05/0.004927, allocations: 0 / 0.7906 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.934e-05/0.004996, allocations: 13.27 kB / 0.7906 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005409/0.005537, allocations: 140 kB / 0.7907 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001038/0.005641, allocations: 59.78 kB / 0.7908 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.005744, allocations: 8.562 kB / 0.7908 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.659e-05/0.005821, allocations: 28.64 kB / 0.7908 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.851e-05/0.005869, allocations: 19.92 kB / 0.7908 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.005888, allocations: 4.906 kB / 0.7909 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003127/0.0062, allocations: 159.7 kB / 0.791 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.267e-05/0.006223, allocations: 12.58 kB / 0.791 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.857e-05/0.006252, allocations: 23.97 kB / 0.791 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002675/0.006519, allocations: 152.2 kB / 0.7912 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.006523, allocations: 0 / 0.7912 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.482e-06/0.006525, allocations: 5.656 kB / 0.7912 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.027e-06/0.006529, allocations: 0 / 0.7912 GB, free: 9.266 MB / 0.7448 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.000436/0.006965, allocations: 420.1 kB / 0.7916 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.007003, allocations: 8.031 kB / 0.7916 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.688e-05/0.00704, allocations: 6.281 kB / 0.7916 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.935e-05/0.00714, allocations: 116.5 kB / 0.7917 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.007154, allocations: 4.375 kB / 0.7917 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.007165, allocations: 5.969 kB / 0.7917 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.007327, allocations: 66.92 kB / 0.7918 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.007336, allocations: 192 / 0.7918 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.007344, allocations: 384 / 0.7918 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.007351, allocations: 1.188 kB / 0.7918 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.391e-05/0.007385, allocations: 19.88 kB / 0.7918 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003188/0.007703, allocations: 255.8 kB / 0.7921 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.439e-05/0.007778, allocations: 27.06 kB / 0.7921 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.49e-05/0.007803, allocations: 15.62 kB / 0.7921 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001224/0.007925, allocations: 12.16 kB / 0.7921 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.007958, allocations: 45.38 kB / 0.7921 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.643e-06/0.00796, allocations: 0 / 0.7921 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001756/0.008136, allocations: 49.61 kB / 0.7922 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.008171, allocations: 51.94 kB / 0.7922 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.007e-05/0.008261, allocations: 166.4 kB / 0.7924 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.008276, allocations: 29.7 kB / 0.7924 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.699e-05/0.008333, allocations: 143.7 kB / 0.7926 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.918e-05/0.008352, allocations: 7.891 kB / 0.7926 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.666e-05/0.008388, allocations: 24.12 kB / 0.7926 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.008532, allocations: 0.4923 MB / 0.7931 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.765e-05/0.00855, allocations: 0.5312 kB / 0.7931 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.506e-05/0.008565, allocations: 4 kB / 0.7931 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.574e-05/0.0086, allocations: 13.06 kB / 0.7931 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.008602, allocations: 0 / 0.7931 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.655e-05/0.008689, allocations: 49.64 kB / 0.7931 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.008705, allocations: 9.094 kB / 0.7932 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.00871, allocations: 3.938 kB / 0.7932 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.896e-06/0.008719, allocations: 0 / 0.7932 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.334e-05/0.008792, allocations: 16.77 kB / 0.7932 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.835e-06/0.008795, allocations: 0 / 0.7932 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.32e-05/0.008828, allocations: 8.531 kB / 0.7932 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.008837, allocations: 4 kB / 0.7932 GB, free: 7.031 MB / 0.7448 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.655e-05/0.008914, allocations: 158 kB / 0.7933 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.541e-05/0.008939, allocations: 7.953 kB / 0.7933 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001071/0.009046, allocations: 53.62 kB / 0.7934 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.009048, allocations: 0.5 kB / 0.7934 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.00905, allocations: 6.312 kB / 0.7934 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.009054, allocations: 0 / 0.7934 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000133/0.009187, allocations: 101.2 kB / 0.7935 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.009188, allocations: 0 / 0.7935 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.767e-05/0.009236, allocations: 11.98 kB / 0.7935 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.00924, allocations: 4 kB / 0.7935 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.009245, allocations: 7.375 kB / 0.7935 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.009247, allocations: 0 / 0.7935 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.00925, allocations: 3.938 kB / 0.7935 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002321/0.009482, allocations: 187.9 kB / 0.7937 GB, free: 6.445 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.118e-05/0.009493, allocations: 7.953 kB / 0.7937 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.085e-05/0.009504, allocations: 0 / 0.7937 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.314e-05/0.009567, allocations: 7.984 kB / 0.7937 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.049e-05/0.009607, allocations: 11.92 kB / 0.7937 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.972e-06/0.009613, allocations: 4 kB / 0.7937 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.549e-05/0.009659, allocations: 128.4 kB / 0.7939 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.009659, allocations: 0 / 0.7939 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002731/0.009932, allocations: 36.36 kB / 0.7939 GB, free: 6.254 MB / 0.7448 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.0002162/0.01015, allocations: 136.2 kB / 0.794 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.238e-05/0.01024, allocations: 21.44 kB / 0.794 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.01024, allocations: 3.938 kB / 0.794 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.207e-05/0.01027, allocations: 15.77 kB / 0.7941 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.01054, allocations: 16.89 kB / 0.7941 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003297/0.01087, allocations: 159.4 kB / 0.7942 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.976e-05/0.01091, allocations: 52.47 kB / 0.7943 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.32e-05/0.01094, allocations: 7.984 kB / 0.7943 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.857e-05/0.01102, allocations: 83 kB / 0.7944 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of SimCode: time 1.092e-06/0.01102, allocations: 0 / 0.7944 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of Templates: time 0.00377/0.01479, allocations: 1.618 MB / 0.7959 GB, free: 4.129 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.046456653159112]