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.001244/0.001244, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001475/0.001475, allocations: 162.7 kB / 24.87 MB, free: 8.891 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.9788/0.9788, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.762/1.762, allocations: 359 MB / 0.6063 GB, free: 10.87 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.253e-06/1.253e-06, allocations: 0 / 0.7883 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.045e-05/2.17e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002008/0.002029, allocations: 1.477 MB / 0.7897 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008877/0.002917, allocations: 0.5955 MB / 0.7903 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.779e-05/0.002945, allocations: 0.5 kB / 0.7903 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.482e-05/0.00297, allocations: 9.094 kB / 0.7903 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.239e-05/0.003022, allocations: 3.984 kB / 0.7903 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003187/0.003341, allocations: 100 kB / 0.7904 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.907e-05/0.0034, allocations: 32.55 kB / 0.7904 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.436e-05/0.003474, allocations: 0.9062 kB / 0.7904 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.879e-05/0.003523, allocations: 15.98 kB / 0.7905 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.731e-05/0.00357, allocations: 11.98 kB / 0.7905 GB, free: 10 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.13e-05/0.003582, allocations: 0.6562 kB / 0.7905 GB, free: 10 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001893/0.003771, allocations: 140.3 kB / 0.7906 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.605e-05/0.003787, allocations: 7.984 kB / 0.7906 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.504e-05/0.003802, allocations: 9.641 kB / 0.7906 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.003971, allocations: 115.6 kB / 0.7907 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.003973, allocations: 0 / 0.7907 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.92e-07/0.003974, allocations: 0 / 0.7907 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.83e-06/0.003979, allocations: 0 / 0.7907 GB, free: 9.734 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.0003255/0.004305, allocations: 385.7 kB / 0.7911 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.004348, allocations: 8.031 kB / 0.7911 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002813/0.004629, allocations: 34.48 kB / 0.7911 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.699e-05/0.004716, allocations: 108.6 kB / 0.7912 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.004727, allocations: 3.844 kB / 0.7912 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-06/0.004736, allocations: 4.375 kB / 0.7913 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.004873, allocations: 62.92 kB / 0.7913 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.972e-06/0.004879, allocations: 192 / 0.7913 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.004887, allocations: 384 / 0.7913 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.004891, allocations: 384 / 0.7913 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.689e-05/0.004928, allocations: 19.86 kB / 0.7913 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002846/0.005213, allocations: 252.8 kB / 0.7916 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.71e-05/0.00529, allocations: 52.41 kB / 0.7916 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.006e-05/0.00531, allocations: 12.97 kB / 0.7916 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.227e-05/0.005322, allocations: 0 / 0.7916 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.005341, allocations: 41.33 kB / 0.7917 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 7.51e-07/0.005341, allocations: 0.5625 kB / 0.7917 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001502/0.005492, allocations: 62.7 kB / 0.7917 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.596e-05/0.005518, allocations: 51.41 kB / 0.7918 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.189e-05/0.00558, allocations: 154.9 kB / 0.7919 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/0.005591, allocations: 29.69 kB / 0.792 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.821e-05/0.005629, allocations: 131.4 kB / 0.7921 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.998e-05/0.005649, allocations: 7.938 kB / 0.7921 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.904e-05/0.005678, allocations: 20.44 kB / 0.7921 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.005787, allocations: 496.1 kB / 0.7926 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.779e-05/0.005805, allocations: 4.844 kB / 0.7926 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.546e-05/0.00582, allocations: 7.984 kB / 0.7926 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.051e-05/0.005861, allocations: 28.72 kB / 0.7926 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.005862, allocations: 2.219 kB / 0.7926 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.56e-05/0.005938, allocations: 45.64 kB / 0.7927 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.00595, allocations: 8 kB / 0.7927 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.005955, allocations: 0 / 0.7927 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.866e-06/0.005963, allocations: 7.922 kB / 0.7927 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.75e-05/0.006031, allocations: 10.78 kB / 0.7927 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/0.006034, allocations: 0 / 0.7927 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.072e-05/0.006064, allocations: 11.98 kB / 0.7927 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.00607, allocations: 4 kB / 0.7927 GB, free: 7.523 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.385e-05/0.006134, allocations: 152.6 kB / 0.7929 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.972e-05/0.006154, allocations: 4 kB / 0.7929 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.972e-05/0.006183, allocations: 4.906 kB / 0.7929 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.006188, allocations: 7.922 kB / 0.7929 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.006189, allocations: 0.5625 kB / 0.7929 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.006192, allocations: 4.688 kB / 0.7929 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.746e-05/0.00629, allocations: 101.2 kB / 0.793 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.006291, allocations: 4.5 kB / 0.793 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.037e-05/0.006332, allocations: 12.56 kB / 0.793 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.006334, allocations: 1.344 kB / 0.793 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.006341, allocations: 3.984 kB / 0.793 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.006342, allocations: 4 kB / 0.793 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.006343, allocations: 0 / 0.793 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001418/0.006484, allocations: 200.5 kB / 0.7932 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.394e-06/0.006492, allocations: 5.828 kB / 0.7932 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.006503, allocations: 3.984 kB / 0.7932 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.462e-05/0.006548, allocations: 4 kB / 0.7932 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.8e-05/0.006576, allocations: 0 / 0.7932 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.006584, allocations: 12.61 kB / 0.7932 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.815e-05/0.006622, allocations: 119.2 kB / 0.7933 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006622, allocations: 1.062 kB / 0.7933 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001686/0.006791, allocations: 19.88 kB / 0.7934 GB, free: 6.82 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.000134/0.006925, allocations: 112.3 kB / 0.7935 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.18e-05/0.007007, allocations: 28.52 kB / 0.7935 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.007008, allocations: 1.156 kB / 0.7935 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.583e-05/0.007034, allocations: 19.67 kB / 0.7935 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001819/0.007216, allocations: 7.906 kB / 0.7935 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004033/0.007619, allocations: 130.3 kB / 0.7936 GB, free: 6.488 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/0.007959, allocations: 55.3 kB / 0.7937 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.085e-05/0.00801, allocations: 16.05 kB / 0.7937 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.694e-05/0.008077, allocations: 75.25 kB / 0.7938 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of SimCode: time 1.523e-06/0.008078, allocations: 0 / 0.7938 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of Templates: time 0.002846/0.01092, allocations: 1.066 MB / 0.7948 GB, free: 5.285 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.99314577691257]