Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.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.001337/0.001337, allocations: 81.86 kB / 20.68 MB, free: 3.812 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.00146/0.00146, allocations: 181 kB / 24.09 MB, free: 416 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 1.004/1.004, allocations: 177.2 MB / 204.5 MB, free: 5.5 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.682/1.682, allocations: 359 MB / 0.6055 GB, free: 10.89 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.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 3.938 kB / 0.7875 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.482e-05/1.671e-05, allocations: 3.219 kB / 0.7875 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001723/0.00174, allocations: 1.465 MB / 0.789 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0007025/0.002442, allocations: 0.5956 MB / 0.7895 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.487e-05/0.002467, allocations: 6.812 kB / 0.7896 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.402e-05/0.002491, allocations: 0 / 0.7896 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.114e-05/0.002542, allocations: 7.875 kB / 0.7896 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003091/0.002851, allocations: 99.44 kB / 0.7897 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.319e-05/0.002904, allocations: 27.92 kB / 0.7897 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.023e-05/0.002975, allocations: 7.984 kB / 0.7897 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.376e-05/0.003028, allocations: 17.33 kB / 0.7897 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.825e-05/0.003067, allocations: 11.98 kB / 0.7897 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 9.668e-06/0.003076, allocations: 0 / 0.7897 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001779/0.003254, allocations: 144.3 kB / 0.7899 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.517e-05/0.003269, allocations: 0 / 0.7899 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.335e-05/0.003283, allocations: 4.906 kB / 0.7899 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001555/0.003438, allocations: 115.7 kB / 0.79 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.00344, allocations: 0.75 kB / 0.79 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.104e-06/0.003442, allocations: 3.984 kB / 0.79 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.003447, allocations: 1.531 kB / 0.79 GB, free: 9.723 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002981/0.003745, allocations: 380.3 kB / 0.7903 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.003779, allocations: 8.031 kB / 0.7903 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002448/0.004024, allocations: 34.08 kB / 0.7904 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.774e-05/0.004092, allocations: 109.2 kB / 0.7905 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.895e-06/0.0041, allocations: 4.312 kB / 0.7905 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.763e-06/0.004107, allocations: 6.875 kB / 0.7905 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.004218, allocations: 62.92 kB / 0.7906 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.26e-06/0.004223, allocations: 192 / 0.7906 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.004231, allocations: 384 / 0.7906 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.004235, allocations: 384 / 0.7906 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.957e-05/0.004264, allocations: 16.45 kB / 0.7906 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003247/0.004589, allocations: 261 kB / 0.7908 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.039e-05/0.004669, allocations: 45.14 kB / 0.7909 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.638e-05/0.004696, allocations: 15.73 kB / 0.7909 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.004714, allocations: 0 / 0.7909 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.004735, allocations: 38.02 kB / 0.7909 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.004736, allocations: 0.6875 kB / 0.7909 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001266/0.004862, allocations: 58.3 kB / 0.791 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.324e-05/0.004886, allocations: 56.28 kB / 0.791 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.614e-05/0.004942, allocations: 161.9 kB / 0.7912 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.004953, allocations: 25.7 kB / 0.7912 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.38e-05/0.004987, allocations: 132.2 kB / 0.7913 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.649e-05/0.005003, allocations: 7.938 kB / 0.7913 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.799e-05/0.005031, allocations: 19.38 kB / 0.7914 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.005132, allocations: 497.9 kB / 0.7918 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.526e-05/0.005147, allocations: 7.984 kB / 0.7918 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.366e-05/0.005161, allocations: 8 kB / 0.7918 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.443e-05/0.005195, allocations: 24.83 kB / 0.7919 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.005197, allocations: 0 / 0.7919 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.037e-05/0.005257, allocations: 54.3 kB / 0.7919 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.898e-06/0.005267, allocations: 4.875 kB / 0.7919 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.005271, allocations: 0 / 0.7919 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.005282, allocations: 8.766 kB / 0.7919 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.166e-05/0.005344, allocations: 11.98 kB / 0.7919 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.094e-06/0.005346, allocations: 1.688 kB / 0.7919 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.732e-05/0.005373, allocations: 11.98 kB / 0.792 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.005378, allocations: 0 / 0.792 GB, free: 7.508 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 (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.442e-05/0.005432, allocations: 153.4 kB / 0.7921 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.332e-05/0.005446, allocations: 4 kB / 0.7921 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.916e-05/0.005475, allocations: 5.531 kB / 0.7921 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.005478, allocations: 7.938 kB / 0.7921 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.00548, allocations: 0 / 0.7921 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.005483, allocations: 4 kB / 0.7921 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.375e-05/0.005567, allocations: 101.2 kB / 0.7922 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.81e-07/0.005567, allocations: 2.125 kB / 0.7922 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.076e-05/0.005598, allocations: 7.984 kB / 0.7922 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.005601, allocations: 4 kB / 0.7922 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.93e-06/0.005606, allocations: 0 / 0.7922 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.005607, allocations: 3.984 kB / 0.7922 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.71e-07/0.005608, allocations: 0.5 kB / 0.7922 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.832e-05/0.005706, allocations: 198.2 kB / 0.7924 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.202e-06/0.005712, allocations: 7.953 kB / 0.7924 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.003e-05/0.005722, allocations: 4 kB / 0.7924 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.884e-05/0.005761, allocations: 3.984 kB / 0.7924 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.154e-05/0.005783, allocations: 4 kB / 0.7924 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.83e-06/0.005788, allocations: 4.562 kB / 0.7924 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.058e-05/0.005818, allocations: 135.1 kB / 0.7926 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005818, allocations: 0.6562 kB / 0.7926 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001418/0.00596, allocations: 16.78 kB / 0.7926 GB, free: 6.805 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 (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 Backend phase and start with SimCode phase: time 9.435e-05/0.006054, allocations: 112.4 kB / 0.7927 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.108e-05/0.006115, allocations: 23.67 kB / 0.7927 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.006117, allocations: 4 kB / 0.7927 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.056e-05/0.006138, allocations: 23.61 kB / 0.7927 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001553/0.006293, allocations: 14 kB / 0.7928 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003161/0.006609, allocations: 119.8 kB / 0.7929 GB, free: 6.477 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.716e-05/0.006636, allocations: 56.33 kB / 0.7929 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.11e-05/0.006677, allocations: 13.28 kB / 0.7929 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.803e-05/0.006736, allocations: 78.19 kB / 0.793 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of SimCode: time 4.71e-07/0.006736, allocations: 0.9688 kB / 0.793 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of Templates: time 0.002195/0.008931, allocations: 1.045 MB / 0.794 GB, free: 5.281 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.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.688099170103669]