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.0009854/0.0009854, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.001087/0.001087, allocations: 161 kB / 23.82 MB, free: 0.7461 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 1.012/1.012, allocations: 177.1 MB / 204.2 MB, free: 5.621 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.784/1.784, allocations: 359 MB / 0.6052 GB, free: 11.02 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.674e-06/1.674e-06, allocations: 0 / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.329e-05/2.497e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001972/0.001996, allocations: 1.474 MB / 0.7885 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008167/0.002813, allocations: 0.6045 MB / 0.7891 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.818e-05/0.002841, allocations: 4 kB / 0.7891 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.097e-05/0.002872, allocations: 0 / 0.7891 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.753e-05/0.00293, allocations: 3.938 kB / 0.7891 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003588/0.003289, allocations: 105 kB / 0.7892 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.11e-05/0.00335, allocations: 23.92 kB / 0.7892 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.201e-05/0.003442, allocations: 8 kB / 0.7892 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.841e-05/0.00349, allocations: 13.08 kB / 0.7892 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.573e-05/0.003536, allocations: 11.92 kB / 0.7893 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.00355, allocations: 0 / 0.7893 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002819/0.003832, allocations: 144.3 kB / 0.7894 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.48e-05/0.003847, allocations: 4 kB / 0.7894 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.854e-05/0.003865, allocations: 5.062 kB / 0.7894 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.004056, allocations: 115.7 kB / 0.7895 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.004058, allocations: 0 / 0.7895 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.62e-07/0.004059, allocations: 2.594 kB / 0.7895 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.004063, allocations: 0 / 0.7895 GB, free: 10.02 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.0003564/0.00442, allocations: 388.3 kB / 0.7899 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.004459, allocations: 8.031 kB / 0.7899 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000295/0.004754, allocations: 33.61 kB / 0.7899 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.348e-05/0.004838, allocations: 112.6 kB / 0.79 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.004849, allocations: 0.9062 kB / 0.79 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/0.004862, allocations: 6.031 kB / 0.79 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.005017, allocations: 62.92 kB / 0.7901 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.005027, allocations: 192 / 0.7901 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.005037, allocations: 4.969 kB / 0.7901 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.005045, allocations: 384 / 0.7901 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.716e-05/0.005092, allocations: 24.92 kB / 0.7901 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003468/0.005439, allocations: 272.9 kB / 0.7904 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.107e-05/0.00552, allocations: 44.42 kB / 0.7904 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.899e-05/0.005549, allocations: 15.75 kB / 0.7904 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.00557, allocations: 4 kB / 0.7905 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.005591, allocations: 39.08 kB / 0.7905 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.005592, allocations: 0 / 0.7905 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001827/0.005775, allocations: 61.61 kB / 0.7905 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.548e-05/0.005801, allocations: 52.25 kB / 0.7906 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.999e-05/0.005871, allocations: 161.9 kB / 0.7908 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.005883, allocations: 26.55 kB / 0.7908 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.802e-05/0.005921, allocations: 130.9 kB / 0.7909 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.8e-05/0.005939, allocations: 5.234 kB / 0.7909 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.319e-05/0.005972, allocations: 27.36 kB / 0.7909 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.006072, allocations: 492.1 kB / 0.7914 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.57e-05/0.006098, allocations: 4.844 kB / 0.7914 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.205e-05/0.00612, allocations: 15.92 kB / 0.7914 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.542e-05/0.006166, allocations: 20.72 kB / 0.7914 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.006168, allocations: 1.406 kB / 0.7914 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.781e-05/0.006255, allocations: 57.62 kB / 0.7915 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.006267, allocations: 9.344 kB / 0.7915 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.006273, allocations: 3.938 kB / 0.7915 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.006289, allocations: 3.938 kB / 0.7915 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.494e-05/0.006373, allocations: 18.98 kB / 0.7915 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.006379, allocations: 0 / 0.7915 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.923e-05/0.006408, allocations: 4 kB / 0.7915 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.006414, allocations: 0 / 0.7915 GB, free: 7.758 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 6.005e-05/0.006474, allocations: 160.5 kB / 0.7917 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.124e-05/0.006495, allocations: 7.984 kB / 0.7917 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.696e-05/0.006532, allocations: 7.75 kB / 0.7917 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.006534, allocations: 1.938 kB / 0.7917 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.006537, allocations: 0 / 0.7917 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.00654, allocations: 192 / 0.7917 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.797e-05/0.006637, allocations: 120.6 kB / 0.7918 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.006639, allocations: 0 / 0.7918 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.123e-05/0.00668, allocations: 8.547 kB / 0.7918 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.006683, allocations: 6.797 kB / 0.7918 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-06/0.006691, allocations: 4 kB / 0.7918 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.006693, allocations: 3.938 kB / 0.7918 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.006694, allocations: 0 / 0.7918 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001262/0.00682, allocations: 195.9 kB / 0.792 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.342e-06/0.006827, allocations: 7.953 kB / 0.792 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.006838, allocations: 2.156 kB / 0.792 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.705e-05/0.006885, allocations: 7.938 kB / 0.792 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.378e-05/0.006919, allocations: 11.92 kB / 0.7921 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.006923, allocations: 0 / 0.7921 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.244e-05/0.006955, allocations: 123.2 kB / 0.7922 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006955, allocations: 0 / 0.7922 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001657/0.007121, allocations: 16.94 kB / 0.7922 GB, free: 7.027 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.0001402/0.007261, allocations: 112.2 kB / 0.7923 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.758e-05/0.007359, allocations: 28.8 kB / 0.7923 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.00736, allocations: 0 / 0.7923 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.98e-05/0.00739, allocations: 20.77 kB / 0.7923 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001921/0.007582, allocations: 11.98 kB / 0.7924 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004608/0.008043, allocations: 123.9 kB / 0.7925 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.237e-05/0.008075, allocations: 55.84 kB / 0.7925 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.886e-05/0.008124, allocations: 19.34 kB / 0.7925 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.509e-05/0.008159, allocations: 12.5 kB / 0.7926 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of SimCode: time 5.31e-07/0.00816, allocations: 0 / 0.7926 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of Templates: time 0.002731/0.01089, allocations: 0.9625 MB / 0.7935 GB, free: 5.648 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: 5.0694089801982045]