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.0009404/0.0009404, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.0009221/0.0009221, allocations: 169 kB / 24.28 MB, free: 280 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.009/1.009, allocations: 177.1 MB / 204.6 MB, free: 5.645 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.791/1.791, allocations: 359 MB / 0.6055 GB, free: 10.97 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 2.014e-06/2.014e-06, allocations: 0 / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.315e-05/2.517e-05, allocations: 6.25 kB / 0.7871 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002629/0.002655, allocations: 1.464 MB / 0.7885 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0007991/0.003454, allocations: 0.5968 MB / 0.7891 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.383e-05/0.003487, allocations: 3.938 kB / 0.7891 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.831e-05/0.003516, allocations: 4 kB / 0.7891 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.701e-05/0.003573, allocations: 7.922 kB / 0.7891 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003585/0.003931, allocations: 104.9 kB / 0.7892 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.951e-05/0.004001, allocations: 23.92 kB / 0.7892 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.749e-05/0.004088, allocations: 1.281 kB / 0.7892 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.228e-05/0.004141, allocations: 19.97 kB / 0.7892 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.53e-05/0.004186, allocations: 11.92 kB / 0.7893 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.0042, allocations: 5.406 kB / 0.7893 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001954/0.004396, allocations: 135.7 kB / 0.7894 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.68e-05/0.004412, allocations: 7.938 kB / 0.7894 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.792e-05/0.00443, allocations: 4 kB / 0.7894 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001852/0.004616, allocations: 116.7 kB / 0.7895 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.004618, allocations: 0 / 0.7895 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.11e-07/0.004618, allocations: 0 / 0.7895 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.004622, allocations: 1.469 kB / 0.7895 GB, free: 10.3 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.0003239/0.004946, allocations: 388.3 kB / 0.7899 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.004983, allocations: 8.031 kB / 0.7899 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002862/0.005269, allocations: 31.12 kB / 0.7899 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.00538, allocations: 112.6 kB / 0.79 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.005392, allocations: 384 / 0.79 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.005405, allocations: 4.938 kB / 0.79 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.005574, allocations: 67.89 kB / 0.7901 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.005582, allocations: 192 / 0.7901 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.005593, allocations: 1.969 kB / 0.7901 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.005601, allocations: 4.312 kB / 0.7901 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.181e-05/0.005653, allocations: 23.92 kB / 0.7901 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003564/0.006009, allocations: 261.5 kB / 0.7904 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.162e-05/0.006091, allocations: 47.05 kB / 0.7904 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.225e-05/0.006123, allocations: 18.3 kB / 0.7904 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.006141, allocations: 0 / 0.7904 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.006164, allocations: 45.33 kB / 0.7905 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 2.195e-06/0.006166, allocations: 3.984 kB / 0.7905 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001963/0.006363, allocations: 62.14 kB / 0.7905 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.006394, allocations: 51.41 kB / 0.7906 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.534e-05/0.00646, allocations: 154.7 kB / 0.7907 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.006471, allocations: 25.7 kB / 0.7908 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.484e-05/0.006516, allocations: 135.4 kB / 0.7909 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.209e-05/0.006538, allocations: 13.42 kB / 0.7909 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.033e-05/0.006569, allocations: 15.38 kB / 0.7909 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.006677, allocations: 0.4923 MB / 0.7914 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.211e-05/0.006699, allocations: 4 kB / 0.7914 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.762e-05/0.006717, allocations: 8.531 kB / 0.7914 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.507e-05/0.006762, allocations: 32.86 kB / 0.7914 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.006764, allocations: 0 / 0.7914 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.879e-05/0.006842, allocations: 54.84 kB / 0.7915 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.006857, allocations: 9.375 kB / 0.7915 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.006863, allocations: 3.938 kB / 0.7915 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.006875, allocations: 0 / 0.7915 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.82e-05/0.006943, allocations: 7.984 kB / 0.7915 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.006948, allocations: 1.75 kB / 0.7915 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.97e-05/0.006978, allocations: 11.94 kB / 0.7915 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.792e-06/0.006985, allocations: 4 kB / 0.7915 GB, free: 8.031 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.153e-05/0.007046, allocations: 153.3 kB / 0.7917 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.517e-05/0.007062, allocations: 3.938 kB / 0.7917 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.25e-05/0.007094, allocations: 17 kB / 0.7917 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.007096, allocations: 0 / 0.7917 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.007101, allocations: 3.984 kB / 0.7917 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.007104, allocations: 0.875 kB / 0.7917 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.439e-05/0.007198, allocations: 116.6 kB / 0.7918 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.007199, allocations: 3.469 kB / 0.7918 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.202e-05/0.007231, allocations: 11.98 kB / 0.7918 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.007233, allocations: 0 / 0.7918 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.007245, allocations: 0 / 0.7918 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.007249, allocations: 7.938 kB / 0.7918 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.007249, allocations: 0 / 0.7918 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001147/0.007364, allocations: 191.9 kB / 0.792 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.081e-06/0.00737, allocations: 3.984 kB / 0.792 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.007382, allocations: 4.531 kB / 0.792 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.199e-05/0.007424, allocations: 5.875 kB / 0.792 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.381e-05/0.007458, allocations: 7.938 kB / 0.792 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-06/0.007464, allocations: 3.984 kB / 0.792 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.381e-05/0.007497, allocations: 127.2 kB / 0.7922 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007497, allocations: 0 / 0.7922 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001545/0.007652, allocations: 21.98 kB / 0.7922 GB, free: 7.305 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.0001156/0.007767, allocations: 103.2 kB / 0.7923 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.908e-05/0.007857, allocations: 32.17 kB / 0.7923 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.007858, allocations: 4.844 kB / 0.7923 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.694e-05/0.007885, allocations: 19.67 kB / 0.7923 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001768/0.008062, allocations: 14.66 kB / 0.7924 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004455/0.008507, allocations: 128.1 kB / 0.7925 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.414e-05/0.008542, allocations: 59.34 kB / 0.7925 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.482e-05/0.008586, allocations: 14.28 kB / 0.7925 GB, free: 6.883 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.826e-05/0.008615, allocations: 8.5 kB / 0.7926 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of SimCode: time 7.41e-07/0.008615, allocations: 0 / 0.7926 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of Templates: time 0.002735/0.01135, allocations: 0.9615 MB / 0.7935 GB, free: 5.945 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.9933222939725965]