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.0009994/0.0009994, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009969/0.0009969, allocations: 181 kB / 24.09 MB, free: 420 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.9556/0.9556, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.881/1.881, allocations: 377.9 MB / 0.6239 GB, free: 8.418 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.924e-06/1.924e-06, allocations: 0 / 0.812 GB, free: 368 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.48e-05/1.672e-05, allocations: 3.906 kB / 0.812 GB, free: 364 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.001718/0.001734, allocations: 1.471 MB / 0.8134 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0003726/0.002107, allocations: 216.1 kB / 0.8136 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.401e-05/0.002141, allocations: 0 / 0.8136 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.449e-05/0.002166, allocations: 4.906 kB / 0.8136 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.49e-05/0.00221, allocations: 7.922 kB / 0.8136 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001892/0.0024, allocations: 32.44 kB / 0.8137 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 5.609e-05/0.002456, allocations: 25.05 kB / 0.8137 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.522e-05/0.002531, allocations: 4 kB / 0.8137 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 5.544e-05/0.002586, allocations: 11.98 kB / 0.8137 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.991e-05/0.002626, allocations: 14.02 kB / 0.8137 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.00264, allocations: 4 kB / 0.8137 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.61e-05/0.002716, allocations: 27.97 kB / 0.8137 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.648e-05/0.002732, allocations: 4 kB / 0.8137 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.396e-05/0.002746, allocations: 7.984 kB / 0.8137 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 9.467e-05/0.002841, allocations: 43.83 kB / 0.8138 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.002843, allocations: 1.344 kB / 0.8138 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.81e-07/0.002843, allocations: 0 / 0.8138 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.605e-06/0.002846, allocations: 0 / 0.8138 GB, free: 14.5 MB / 0.7292 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.000282/0.003128, allocations: 362.2 kB / 0.8141 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.003162, allocations: 12.03 kB / 0.8141 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.003278, allocations: 12.86 kB / 0.8142 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.211e-05/0.00335, allocations: 116.6 kB / 0.8143 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.00336, allocations: 2.344 kB / 0.8143 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.63e-06/0.003366, allocations: 384 / 0.8143 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.805e-05/0.003454, allocations: 54.95 kB / 0.8143 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.00346, allocations: 192 / 0.8143 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.981e-06/0.003466, allocations: 384 / 0.8143 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.003471, allocations: 1 kB / 0.8143 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.956e-05/0.003491, allocations: 12.45 kB / 0.8143 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002204/0.003711, allocations: 240.2 kB / 0.8146 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.079e-05/0.003752, allocations: 27.78 kB / 0.8146 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.449e-05/0.003767, allocations: 16.31 kB / 0.8146 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.00378, allocations: 1.438 kB / 0.8146 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.667e-05/0.003797, allocations: 33.39 kB / 0.8146 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.003798, allocations: 0 / 0.8146 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001042/0.003902, allocations: 50.11 kB / 0.8147 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.515e-05/0.003927, allocations: 52.78 kB / 0.8147 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.44e-05/0.003992, allocations: 165.9 kB / 0.8149 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.985e-06/0.004, allocations: 25.7 kB / 0.8149 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.491e-05/0.004034, allocations: 126.9 kB / 0.815 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.417e-05/0.004049, allocations: 9.109 kB / 0.8151 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.115e-05/0.00407, allocations: 19.38 kB / 0.8151 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.004178, allocations: 0.4884 MB / 0.8155 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.115e-06/0.004187, allocations: 5.375 kB / 0.8156 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.214e-06/0.004194, allocations: 0 / 0.8156 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.994e-05/0.004214, allocations: 11.69 kB / 0.8156 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.004215, allocations: 5.312 kB / 0.8156 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.525e-05/0.00426, allocations: 41.62 kB / 0.8156 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.004271, allocations: 10.03 kB / 0.8156 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.004275, allocations: 0.5625 kB / 0.8156 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.004287, allocations: 4.844 kB / 0.8156 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.552e-05/0.004333, allocations: 4 kB / 0.8156 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.004335, allocations: 0.7812 kB / 0.8156 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.669e-05/0.004352, allocations: 4 kB / 0.8156 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-06/0.004358, allocations: 9.203 kB / 0.8156 GB, free: 12.41 MB / 0.7292 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.872e-05/0.004417, allocations: 152.6 kB / 0.8158 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.339e-05/0.00443, allocations: 7.953 kB / 0.8158 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.9e-05/0.004509, allocations: 45.84 kB / 0.8158 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-06/0.004511, allocations: 9.219 kB / 0.8158 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.634e-06/0.004513, allocations: 0 / 0.8158 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.004516, allocations: 0 / 0.8158 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.415e-05/0.0046, allocations: 97.25 kB / 0.8159 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.004601, allocations: 5.188 kB / 0.8159 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.21e-05/0.004623, allocations: 8 kB / 0.816 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.004625, allocations: 0 / 0.816 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.777e-06/0.004629, allocations: 1.875 kB / 0.816 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.41e-07/0.004629, allocations: 0 / 0.816 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.00463, allocations: 0 / 0.816 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.707e-05/0.004717, allocations: 195.9 kB / 0.8161 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.793e-06/0.004723, allocations: 7.984 kB / 0.8161 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.013e-06/0.00473, allocations: 2.469 kB / 0.8162 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.134e-05/0.004762, allocations: 4 kB / 0.8162 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.689e-05/0.004789, allocations: 4 kB / 0.8162 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.004791, allocations: 3.938 kB / 0.8162 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.553e-05/0.004827, allocations: 131.1 kB / 0.8163 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.004827, allocations: 0 / 0.8163 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001325/0.00496, allocations: 7.953 kB / 0.8163 GB, free: 11.69 MB / 0.7292 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 7.323e-05/0.005033, allocations: 96.28 kB / 0.8164 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.085e-05/0.005094, allocations: 21.61 kB / 0.8164 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.005095, allocations: 0 / 0.8164 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.687e-05/0.005112, allocations: 11.69 kB / 0.8164 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00017/0.005282, allocations: 15.03 kB / 0.8164 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003267/0.005608, allocations: 133.9 kB / 0.8166 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.225e-05/0.005641, allocations: 59.3 kB / 0.8166 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.933e-05/0.00566, allocations: 0 / 0.8166 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.991e-05/0.00572, allocations: 82.19 kB / 0.8167 GB, free: 11.22 MB / 0.7292 GB Notification: Performance of SimCode: time 4.61e-07/0.00572, allocations: 0 / 0.8167 GB, free: 11.22 MB / 0.7292 GB Notification: Performance of Templates: time 0.002031/0.007751, allocations: 0.6884 MB / 0.8174 GB, free: 10.56 MB / 0.7292 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: 4.879452449735254]