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.001358/0.001358, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001485/0.001485, allocations: 173 kB / 24.28 MB, free: 280 kB / 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.9672/0.9672, allocations: 177.1 MB / 204.6 MB, free: 5.621 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.917/1.917, allocations: 377.8 MB / 0.6239 GB, free: 8.559 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.332e-06/1.332e-06, allocations: 0 / 0.8115 GB, free: 2.113 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.455e-05/1.588e-05, allocations: 7.281 kB / 0.8115 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.001767/0.001783, allocations: 1.464 MB / 0.8129 GB, free: 0.6484 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0003525/0.002136, allocations: 217.3 kB / 0.8131 GB, free: 448 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.821e-05/0.002164, allocations: 0 / 0.8131 GB, free: 448 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.372e-05/0.002188, allocations: 7.938 kB / 0.8131 GB, free: 440 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 4.043e-05/0.002228, allocations: 8.703 kB / 0.8132 GB, free: 432 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001942/0.002422, allocations: 25.53 kB / 0.8132 GB, free: 408 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 6.658e-05/0.002489, allocations: 35.84 kB / 0.8132 GB, free: 372 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 7.51e-05/0.002564, allocations: 0 / 0.8132 GB, free: 372 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 4.943e-05/0.002613, allocations: 15.98 kB / 0.8132 GB, free: 356 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.074e-05/0.002644, allocations: 9.531 kB / 0.8132 GB, free: 348 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.002656, allocations: 0 / 0.8132 GB, free: 348 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 7.237e-05/0.002729, allocations: 35.95 kB / 0.8133 GB, free: 312 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.296e-05/0.002742, allocations: 3.938 kB / 0.8133 GB, free: 308 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.795e-05/0.00276, allocations: 4 kB / 0.8133 GB, free: 304 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.002864, allocations: 36.59 kB / 0.8133 GB, free: 268 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.002866, allocations: 0.8438 kB / 0.8133 GB, free: 268 kB / 0.7605 GB Notification: Performance of FrontEnd: time 6.31e-07/0.002866, allocations: 0 / 0.8133 GB, free: 268 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.00287, allocations: 0 / 0.8133 GB, free: 268 kB / 0.7605 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.0003222/0.003192, allocations: 370.2 kB / 0.8137 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.003226, allocations: 8.031 kB / 0.8137 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001404/0.003366, allocations: 12.88 kB / 0.8137 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.963e-05/0.003446, allocations: 119.2 kB / 0.8138 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.003456, allocations: 384 / 0.8138 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.664e-06/0.003464, allocations: 4.375 kB / 0.8138 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.003572, allocations: 58.88 kB / 0.8139 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.003579, allocations: 12.11 kB / 0.8139 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.003587, allocations: 384 / 0.8139 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.003593, allocations: 384 / 0.8139 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.999e-05/0.003623, allocations: 8.469 kB / 0.8139 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002557/0.003879, allocations: 256.5 kB / 0.8141 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.618e-05/0.003925, allocations: 31.53 kB / 0.8142 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.948e-05/0.003945, allocations: 7.688 kB / 0.8142 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.003955, allocations: 5.719 kB / 0.8142 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.67e-05/0.003972, allocations: 33.39 kB / 0.8142 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 7.71e-07/0.003973, allocations: 0 / 0.8142 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001284/0.004101, allocations: 46.12 kB / 0.8142 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.743e-05/0.004129, allocations: 56 kB / 0.8143 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.612e-05/0.004195, allocations: 161.9 kB / 0.8144 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.995e-06/0.004203, allocations: 26.48 kB / 0.8145 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.631e-05/0.004239, allocations: 130.8 kB / 0.8146 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.328e-05/0.004252, allocations: 5.109 kB / 0.8146 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.416e-05/0.004277, allocations: 23.38 kB / 0.8146 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.763e-05/0.004374, allocations: 492.1 kB / 0.8151 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.275e-05/0.004387, allocations: 5.375 kB / 0.8151 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.358e-06/0.004396, allocations: 3.984 kB / 0.8151 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.257e-05/0.004419, allocations: 11.69 kB / 0.8151 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.00442, allocations: 1.75 kB / 0.8151 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.342e-05/0.004464, allocations: 37.7 kB / 0.8152 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.004478, allocations: 8 kB / 0.8152 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.004483, allocations: 3.938 kB / 0.8152 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.004494, allocations: 0.625 kB / 0.8152 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.917e-05/0.004544, allocations: 13.05 kB / 0.8152 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.004548, allocations: 0 / 0.8152 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.997e-05/0.004568, allocations: 7.953 kB / 0.8152 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.004572, allocations: 1.031 kB / 0.8152 GB, free: 14.14 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 5.325e-05/0.004625, allocations: 156.6 kB / 0.8153 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.316e-05/0.004638, allocations: 4.844 kB / 0.8153 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.542e-05/0.004724, allocations: 55.14 kB / 0.8154 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.004725, allocations: 0 / 0.8154 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.00473, allocations: 4 kB / 0.8154 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.004732, allocations: 0 / 0.8154 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.529e-05/0.004818, allocations: 120.6 kB / 0.8155 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.004818, allocations: 0 / 0.8155 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.176e-05/0.00484, allocations: 6.781 kB / 0.8155 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.004842, allocations: 4 kB / 0.8155 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.004848, allocations: 0 / 0.8155 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.004851, allocations: 7.875 kB / 0.8155 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.004852, allocations: 0 / 0.8155 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.36e-05/0.004936, allocations: 191.9 kB / 0.8157 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.41e-06/0.004941, allocations: 4.234 kB / 0.8157 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.089e-05/0.004952, allocations: 7.984 kB / 0.8157 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.184e-05/0.004984, allocations: 5.469 kB / 0.8157 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.32e-05/0.005017, allocations: 7.984 kB / 0.8157 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/0.005019, allocations: 0 / 0.8157 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.149e-05/0.005051, allocations: 131.2 kB / 0.8159 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.005051, allocations: 0.5 kB / 0.8159 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001384/0.005189, allocations: 4.531 kB / 0.8159 GB, free: 13.39 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 6.094e-05/0.00525, allocations: 95.81 kB / 0.816 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.2e-05/0.005322, allocations: 24.98 kB / 0.816 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.005323, allocations: 0 / 0.816 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.701e-05/0.00534, allocations: 11.69 kB / 0.816 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001802/0.005521, allocations: 13.25 kB / 0.816 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003692/0.00589, allocations: 130 kB / 0.8161 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.16e-05/0.005921, allocations: 59.3 kB / 0.8162 GB, free: 13 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.843e-05/0.00594, allocations: 0 / 0.8162 GB, free: 13 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.503e-05/0.005965, allocations: 12.5 kB / 0.8162 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of SimCode: time 4.61e-07/0.005965, allocations: 0 / 0.8162 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of Templates: time 0.001926/0.007891, allocations: 0.6461 MB / 0.8168 GB, free: 12.37 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.106988477986306]