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.001297/0.001297, 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.001371/0.001371, 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.9149/0.9149, allocations: 177.1 MB / 204.2 MB, free: 5.594 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.717/1.717, allocations: 359 MB / 0.6052 GB, free: 11 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.884e-06/1.884e-06, allocations: 3.938 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.765e-05/2.954e-05, allocations: 5.125 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002951/0.00298, allocations: 1.47 MB / 0.7885 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001131/0.004111, allocations: 0.6068 MB / 0.7891 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.221e-05/0.004143, allocations: 4.5 kB / 0.7891 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.621e-05/0.00418, allocations: 1.156 kB / 0.7891 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.146e-05/0.004251, allocations: 7.875 kB / 0.7891 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005128/0.004764, allocations: 100.8 kB / 0.7892 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.158e-05/0.004846, allocations: 27.91 kB / 0.7892 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.373e-05/0.004939, allocations: 4 kB / 0.7892 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.796e-05/0.004997, allocations: 20.89 kB / 0.7893 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.958e-05/0.005047, allocations: 4 kB / 0.7893 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.005062, allocations: 0.75 kB / 0.7893 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002837/0.005345, allocations: 135.7 kB / 0.7894 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.937e-05/0.005365, allocations: 18.39 kB / 0.7894 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.204e-05/0.005387, allocations: 0 / 0.7894 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002603/0.005647, allocations: 111.7 kB / 0.7895 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.005652, allocations: 0 / 0.7895 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.02e-07/0.005653, allocations: 3.938 kB / 0.7895 GB, free: 10 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.005657, allocations: 0 / 0.7895 GB, free: 10 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.0004474/0.006105, allocations: 388.3 kB / 0.7899 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.006148, allocations: 9.781 kB / 0.7899 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004303/0.006579, allocations: 29.5 kB / 0.7899 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.006683, allocations: 104.6 kB / 0.79 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.0067, allocations: 13.02 kB / 0.79 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.006714, allocations: 4.375 kB / 0.79 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002115/0.006926, allocations: 65.11 kB / 0.7901 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.006935, allocations: 192 / 0.7901 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.006948, allocations: 384 / 0.7901 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.006959, allocations: 4.359 kB / 0.7901 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.392e-05/0.007033, allocations: 24.42 kB / 0.7901 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004689/0.007502, allocations: 268.3 kB / 0.7904 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/0.007629, allocations: 48.92 kB / 0.7904 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.57e-05/0.007675, allocations: 19.73 kB / 0.7905 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.007694, allocations: 5.375 kB / 0.7905 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.00772, allocations: 33.39 kB / 0.7905 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.853e-06/0.007722, allocations: 0 / 0.7905 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0002741/0.007996, allocations: 59.38 kB / 0.7906 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.008037, allocations: 59.33 kB / 0.7906 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.306e-05/0.00813, allocations: 153.9 kB / 0.7908 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.008146, allocations: 31.52 kB / 0.7908 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.543e-05/0.008202, allocations: 130.9 kB / 0.7909 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.473e-05/0.008227, allocations: 3.953 kB / 0.7909 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.896e-05/0.008276, allocations: 23.36 kB / 0.7909 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.00844, allocations: 496.1 kB / 0.7914 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.04e-05/0.008481, allocations: 14.45 kB / 0.7914 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.156e-05/0.008512, allocations: 8 kB / 0.7914 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.087e-05/0.008583, allocations: 23.67 kB / 0.7915 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.008585, allocations: 0 / 0.7915 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001293/0.008715, allocations: 58.08 kB / 0.7915 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.008734, allocations: 10.09 kB / 0.7915 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.008741, allocations: 5.875 kB / 0.7915 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.008755, allocations: 0 / 0.7915 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.008877, allocations: 11.98 kB / 0.7915 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.008883, allocations: 0 / 0.7915 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.257e-05/0.008935, allocations: 6.594 kB / 0.7915 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.008946, allocations: 3.984 kB / 0.7915 GB, free: 7.742 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 8.463e-05/0.009031, allocations: 152.6 kB / 0.7917 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.899e-05/0.00907, allocations: 12 kB / 0.7917 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.321e-05/0.009113, allocations: 7.25 kB / 0.7917 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.009116, allocations: 0.5312 kB / 0.7917 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.00912, allocations: 0.9062 kB / 0.7917 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.009123, allocations: 0 / 0.7917 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.009278, allocations: 124.6 kB / 0.7918 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.00928, allocations: 0.7812 kB / 0.7918 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.963e-05/0.00936, allocations: 9.266 kB / 0.7918 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.009364, allocations: 0 / 0.7918 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.009381, allocations: 7.984 kB / 0.7918 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.009385, allocations: 3.938 kB / 0.7919 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.009387, allocations: 0.8438 kB / 0.7919 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002/0.009587, allocations: 197.2 kB / 0.792 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.277e-05/0.0096, allocations: 7.953 kB / 0.792 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.009617, allocations: 3.984 kB / 0.7921 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.591e-05/0.009713, allocations: 9.188 kB / 0.7921 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.101e-05/0.009754, allocations: 4 kB / 0.7921 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.009761, allocations: 0 / 0.7921 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.197e-05/0.009812, allocations: 130.3 kB / 0.7922 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/0.009813, allocations: 0 / 0.7922 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002937/0.01011, allocations: 15.94 kB / 0.7922 GB, free: 7.012 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 0.0002175/0.01032, allocations: 115.1 kB / 0.7923 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001522/0.01048, allocations: 27.67 kB / 0.7923 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.01048, allocations: 1.781 kB / 0.7923 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.249e-05/0.01052, allocations: 23.61 kB / 0.7924 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003015/0.01082, allocations: 4 kB / 0.7924 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006274/0.01145, allocations: 128.5 kB / 0.7925 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.434e-05/0.01149, allocations: 51.36 kB / 0.7925 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.325e-05/0.01157, allocations: 13.8 kB / 0.7926 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.572e-05/0.01161, allocations: 17.58 kB / 0.7926 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of SimCode: time 7.62e-07/0.01161, allocations: 0 / 0.7926 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of Templates: time 0.004348/0.01596, allocations: 1.029 MB / 0.7936 GB, free: 5.566 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.698071558959782]