Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009555/0.0009555, allocations: 80.39 kB / 21.47 MB, free: 3.023 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.0009863/0.0009863, allocations: 167.5 kB / 24.87 MB, free: 9.277 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.9655/0.9655, allocations: 177.1 MB / 205.3 MB, free: 5.52 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.719/1.719, allocations: 359 MB / 0.6063 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.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat.pSat",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.7883 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.543e-05/1.696e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.001863/0.00188, allocations: 1.464 MB / 0.7897 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0003775/0.002258, allocations: 233.3 kB / 0.7899 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.881e-05/0.002286, allocations: 5 kB / 0.7899 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.355e-05/0.00232, allocations: 3.938 kB / 0.7899 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.354e-05/0.002363, allocations: 0.7188 kB / 0.79 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001933/0.002557, allocations: 34.41 kB / 0.79 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.198e-05/0.002619, allocations: 23.86 kB / 0.79 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.51e-05/0.002694, allocations: 11.98 kB / 0.79 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.966e-05/0.002744, allocations: 8 kB / 0.79 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.218e-05/0.002776, allocations: 7.984 kB / 0.79 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.002789, allocations: 0 / 0.79 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.55e-05/0.002865, allocations: 31.97 kB / 0.7901 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.582e-05/0.002881, allocations: 9.578 kB / 0.7901 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.399e-05/0.002895, allocations: 7.938 kB / 0.7901 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.521e-05/0.00299, allocations: 35.89 kB / 0.7901 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.002992, allocations: 0 / 0.7901 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.11e-07/0.002992, allocations: 0 / 0.7901 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.377e-06/0.002996, allocations: 4.594 kB / 0.7901 GB, free: 10.39 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.0002896/0.003285, allocations: 361.3 kB / 0.7905 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.003316, allocations: 8.031 kB / 0.7905 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/0.003434, allocations: 17.8 kB / 0.7905 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004261/0.00386, allocations: 108.6 kB / 0.7906 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.003869, allocations: 1.5 kB / 0.7906 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.45e-06/0.003874, allocations: 4.375 kB / 0.7906 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.62e-05/0.00396, allocations: 62.88 kB / 0.7907 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.541e-06/0.003966, allocations: 1.562 kB / 0.7907 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.003974, allocations: 384 / 0.7907 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.003978, allocations: 384 / 0.7907 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.928e-05/0.003997, allocations: 9.844 kB / 0.7907 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002115/0.004209, allocations: 236.3 kB / 0.7909 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.259e-05/0.004261, allocations: 35.03 kB / 0.7909 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.342e-05/0.004275, allocations: 7.688 kB / 0.7909 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/0.004285, allocations: 1.531 kB / 0.7909 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.004304, allocations: 41.39 kB / 0.791 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.903e-06/0.004306, allocations: 3.984 kB / 0.791 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001027/0.004409, allocations: 41.64 kB / 0.791 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.601e-05/0.004435, allocations: 51.94 kB / 0.7911 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.878e-05/0.004494, allocations: 163.8 kB / 0.7912 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.734e-06/0.004502, allocations: 25.7 kB / 0.7912 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.859e-05/0.00454, allocations: 130.9 kB / 0.7914 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.554e-05/0.004556, allocations: 3.953 kB / 0.7914 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.534e-05/0.004581, allocations: 31.3 kB / 0.7914 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.004683, allocations: 498.7 kB / 0.7919 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.235e-06/0.004692, allocations: 0 / 0.7919 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.957e-06/0.004701, allocations: 4 kB / 0.7919 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.209e-05/0.004723, allocations: 11.69 kB / 0.7919 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.004724, allocations: 0 / 0.7919 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.496e-05/0.004769, allocations: 38.22 kB / 0.7919 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.00478, allocations: 5.406 kB / 0.7919 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.004784, allocations: 0.7188 kB / 0.7919 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.364e-06/0.004791, allocations: 3.938 kB / 0.7919 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.341e-05/0.004834, allocations: 8.469 kB / 0.792 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.004838, allocations: 5.625 kB / 0.792 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2e-05/0.004858, allocations: 7.938 kB / 0.792 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.196e-06/0.004861, allocations: 0 / 0.792 GB, free: 8.309 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.658e-05/0.004918, allocations: 161.2 kB / 0.7921 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.422e-05/0.004932, allocations: 0 / 0.7921 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.956e-05/0.005002, allocations: 45.59 kB / 0.7922 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.005006, allocations: 8.719 kB / 0.7922 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.005008, allocations: 4 kB / 0.7922 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.00501, allocations: 0.9688 kB / 0.7922 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.2e-05/0.005092, allocations: 97.25 kB / 0.7923 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.005093, allocations: 0.7188 kB / 0.7923 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.086e-05/0.005114, allocations: 4 kB / 0.7923 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-06/0.005115, allocations: 1.062 kB / 0.7923 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.138e-06/0.005119, allocations: 4 kB / 0.7923 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.005121, allocations: 3.984 kB / 0.7923 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.005122, allocations: 4.781 kB / 0.7923 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.367e-05/0.005205, allocations: 191.9 kB / 0.7925 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.964e-06/0.005212, allocations: 13.38 kB / 0.7925 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.635e-06/0.00522, allocations: 0 / 0.7925 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.165e-05/0.005252, allocations: 4 kB / 0.7925 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.399e-05/0.005276, allocations: 3.984 kB / 0.7925 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.00528, allocations: 8.969 kB / 0.7925 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.988e-05/0.00531, allocations: 123.2 kB / 0.7926 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.00531, allocations: 0 / 0.7926 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001375/0.005448, allocations: 10.03 kB / 0.7926 GB, free: 7.578 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 (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 5.982e-05/0.005508, allocations: 95.25 kB / 0.7927 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.588e-05/0.005563, allocations: 19.61 kB / 0.7927 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.42e-07/0.005564, allocations: 2.312 kB / 0.7927 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.537e-05/0.00558, allocations: 12.11 kB / 0.7927 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001618/0.005741, allocations: 8 kB / 0.7928 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003025/0.006044, allocations: 126.8 kB / 0.7929 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.819e-05/0.006072, allocations: 57.17 kB / 0.7929 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.415e-05/0.006096, allocations: 7.938 kB / 0.7929 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.093e-05/0.006147, allocations: 79.34 kB / 0.793 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of SimCode: time 4.6e-07/0.006148, allocations: 0 / 0.793 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of Templates: time 0.001858/0.008005, allocations: 0.7192 MB / 0.7937 GB, free: 6.422 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.908740868791938]