Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.001008/0.001008, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.000979/0.000979, allocations: 161 kB / 23.82 MB, free: 0.75 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.9853/0.9853, allocations: 177.1 MB / 204.2 MB, free: 5.258 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.892/1.892, allocations: 377.8 MB / 0.6236 GB, free: 8.539 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.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.8115 GB, free: 1.762 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.601e-05/2.74e-05, allocations: 5.766 kB / 0.8115 GB, free: 1.758 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002076/0.002104, allocations: 1.475 MB / 0.8129 GB, free: 300 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0004288/0.002533, allocations: 215.4 kB / 0.8131 GB, free: 84 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.291e-05/0.002565, allocations: 5.406 kB / 0.8132 GB, free: 80 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.971e-05/0.002595, allocations: 0 / 0.8132 GB, free: 80 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 4.283e-05/0.002638, allocations: 3.938 kB / 0.8132 GB, free: 76 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002222/0.00286, allocations: 37.23 kB / 0.8132 GB, free: 40 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 6.428e-05/0.002924, allocations: 23.92 kB / 0.8132 GB, free: 16 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 9.06e-05/0.003015, allocations: 8 kB / 0.8132 GB, free: 8 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 6.718e-05/0.003082, allocations: 19.91 kB / 0.8132 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.881e-05/0.003121, allocations: 5.625 kB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.003136, allocations: 0 / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.683e-05/0.003223, allocations: 31.97 kB / 0.8133 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.459e-05/0.003238, allocations: 4 kB / 0.8133 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.9e-05/0.003257, allocations: 4 kB / 0.8133 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.003381, allocations: 40.8 kB / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.003384, allocations: 0 / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.51e-07/0.003385, allocations: 0.5312 kB / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.003389, allocations: 3.938 kB / 0.8133 GB, free: 15.9 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003385/0.003728, allocations: 369.1 kB / 0.8137 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.003766, allocations: 9.125 kB / 0.8137 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001499/0.003916, allocations: 12.88 kB / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.211e-05/0.003998, allocations: 113.2 kB / 0.8138 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.004009, allocations: 384 / 0.8138 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.004022, allocations: 8.906 kB / 0.8138 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.004142, allocations: 52.33 kB / 0.8139 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.004152, allocations: 192 / 0.8139 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.004161, allocations: 384 / 0.8139 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.004168, allocations: 384 / 0.8139 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.157e-05/0.0042, allocations: 17.08 kB / 0.8139 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003022/0.004502, allocations: 255.7 kB / 0.8141 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.328e-05/0.004555, allocations: 28 kB / 0.8142 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.002e-05/0.004575, allocations: 11.75 kB / 0.8142 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.004592, allocations: 0.9062 kB / 0.8142 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.004615, allocations: 41.38 kB / 0.8142 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.004617, allocations: 1.031 kB / 0.8142 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001464/0.004763, allocations: 45.58 kB / 0.8143 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.004795, allocations: 52.69 kB / 0.8143 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.522e-05/0.00487, allocations: 161.9 kB / 0.8145 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.004881, allocations: 25.7 kB / 0.8145 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.253e-05/0.004924, allocations: 130.8 kB / 0.8146 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.004943, allocations: 8.797 kB / 0.8146 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-05/0.004972, allocations: 19.38 kB / 0.8146 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.005091, allocations: 0.4893 MB / 0.8151 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.509e-05/0.005106, allocations: 0 / 0.8151 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.083e-05/0.005117, allocations: 1.469 kB / 0.8151 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.003e-05/0.005147, allocations: 15.69 kB / 0.8151 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.005149, allocations: 4 kB / 0.8151 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.385e-05/0.005202, allocations: 38.92 kB / 0.8152 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.005216, allocations: 7.984 kB / 0.8152 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.00522, allocations: 3.938 kB / 0.8152 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.005235, allocations: 3.062 kB / 0.8152 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.019e-05/0.005295, allocations: 4 kB / 0.8152 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.0053, allocations: 0 / 0.8152 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.95e-05/0.005319, allocations: 7.953 kB / 0.8152 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-06/0.005324, allocations: 0 / 0.8152 GB, free: 13.8 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 (2): * Single equations (assignments): 2 * 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.265e-05/0.005387, allocations: 164.6 kB / 0.8154 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.515e-05/0.005402, allocations: 192 / 0.8154 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/0.005505, allocations: 57.36 kB / 0.8154 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.005508, allocations: 5.938 kB / 0.8154 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.005512, allocations: 0 / 0.8154 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.005515, allocations: 0 / 0.8154 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.348e-05/0.005608, allocations: 120.6 kB / 0.8155 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.005609, allocations: 0 / 0.8155 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.577e-05/0.005635, allocations: 8.844 kB / 0.8155 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.005637, allocations: 0 / 0.8155 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.005643, allocations: 0.8438 kB / 0.8155 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.005646, allocations: 7.922 kB / 0.8155 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.005647, allocations: 0 / 0.8155 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.302e-05/0.00574, allocations: 188.6 kB / 0.8157 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.196e-06/0.005748, allocations: 14.45 kB / 0.8157 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.887e-06/0.005757, allocations: 0 / 0.8157 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.298e-05/0.00579, allocations: 3.938 kB / 0.8157 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.868e-05/0.005829, allocations: 7.984 kB / 0.8157 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.69e-06/0.005835, allocations: 8 kB / 0.8158 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.664e-05/0.005871, allocations: 123.2 kB / 0.8159 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005871, allocations: 3.938 kB / 0.8159 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001466/0.006018, allocations: 6.875 kB / 0.8159 GB, free: 13.03 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 8.484e-05/0.006103, allocations: 95.25 kB / 0.816 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.613e-05/0.006189, allocations: 19.67 kB / 0.816 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.006191, allocations: 4 kB / 0.816 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.951e-05/0.006211, allocations: 15.62 kB / 0.816 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001906/0.006401, allocations: 8.875 kB / 0.816 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004319/0.006833, allocations: 127.5 kB / 0.8161 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.848e-05/0.006872, allocations: 55.36 kB / 0.8162 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.277e-05/0.006894, allocations: 2.156 kB / 0.8162 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.042e-05/0.006925, allocations: 12.5 kB / 0.8162 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of SimCode: time 5.81e-07/0.006925, allocations: 1.156 kB / 0.8162 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of Templates: time 0.002234/0.00916, allocations: 0.6558 MB / 0.8169 GB, free: 12.01 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.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.194182295817882]