Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.001467/0.001467, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001191/0.001191, allocations: 161 kB / 24.17 MB, free: 332 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.066/1.066, allocations: 177.1 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.92/1.92, allocations: 377.9 MB / 0.624 GB, free: 8.359 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.582e-06/1.582e-06, allocations: 0.7656 kB / 0.7601 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.727e-05/1.885e-05, allocations: 5.375 kB / 0.7601 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.00174/0.001758, allocations: 1.384 MB / 0.7614 GB, free: 5.191 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0008589/0.002617, allocations: 0.6543 MB / 0.7621 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.366e-05/0.002641, allocations: 0 / 0.7621 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.7e-05/0.002658, allocations: 0 / 0.7621 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.792e-05/0.002706, allocations: 6.828 kB / 0.7621 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003898/0.003096, allocations: 99.33 kB / 0.7622 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.045e-05/0.003156, allocations: 30.59 kB / 0.7622 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.736e-05/0.003194, allocations: 10.05 kB / 0.7622 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.698e-05/0.00323, allocations: 12 kB / 0.7622 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.013e-05/0.003291, allocations: 11.97 kB / 0.7622 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/0.003302, allocations: 0 / 0.7622 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002217/0.003524, allocations: 151.7 kB / 0.7624 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.077e-05/0.003535, allocations: 0.75 kB / 0.7624 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.547e-05/0.00355, allocations: 8 kB / 0.7624 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001553/0.003706, allocations: 120.5 kB / 0.7625 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.003707, allocations: 0 / 0.7625 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.62e-07/0.003708, allocations: 0 / 0.7625 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.895e-06/0.003711, allocations: 0.6562 kB / 0.7625 GB, free: 4.125 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002925/0.004003, allocations: 254.3 kB / 0.7628 GB, free: 3.852 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.974e-05/0.004033, allocations: 12.03 kB / 0.7628 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002323/0.004265, allocations: 34.36 kB / 0.7628 GB, free: 3.809 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.796e-05/0.004343, allocations: 113.7 kB / 0.7629 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.098e-06/0.004352, allocations: 384 / 0.7629 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.00437, allocations: 4.906 kB / 0.7629 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.004486, allocations: 93.5 kB / 0.763 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.004492, allocations: 1.062 kB / 0.763 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-06/0.0045, allocations: 384 / 0.763 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.004506, allocations: 4.375 kB / 0.763 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.99e-05/0.004536, allocations: 17.08 kB / 0.763 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.006e-05/0.004626, allocations: 61.05 kB / 0.7631 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.004751, allocations: 48.56 kB / 0.7631 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.111e-05/0.004772, allocations: 16.84 kB / 0.7631 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.004785, allocations: 3.938 kB / 0.7631 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.004805, allocations: 37.31 kB / 0.7632 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.004806, allocations: 0 / 0.7632 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.001632/0.006438, allocations: 479.8 kB / 0.7636 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.471e-05/0.006462, allocations: 57.83 kB / 0.7637 GB, free: 2.785 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.322e-05/0.006506, allocations: 102.7 kB / 0.7638 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.006521, allocations: 29.7 kB / 0.7638 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.103e-05/0.006542, allocations: 84.14 kB / 0.7639 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.677e-05/0.006568, allocations: 11.86 kB / 0.7639 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.22e-05/0.006611, allocations: 37.61 kB / 0.7639 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.987e-05/0.00668, allocations: 316 kB / 0.7643 GB, free: 2.18 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.002e-05/0.006711, allocations: 19.98 kB / 0.7643 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.642e-05/0.006737, allocations: 23.42 kB / 0.7643 GB, free: 2.141 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.011e-05/0.006807, allocations: 52.91 kB / 0.7643 GB, free: 2.086 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.006808, allocations: 0 / 0.7643 GB, free: 2.086 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.844e-05/0.006906, allocations: 77.66 kB / 0.7644 GB, free: 2.004 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.006919, allocations: 8 kB / 0.7644 GB, free: 1.996 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.006923, allocations: 0 / 0.7644 GB, free: 1.996 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.006934, allocations: 3.438 kB / 0.7644 GB, free: 1.996 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.87e-05/0.007032, allocations: 23.95 kB / 0.7645 GB, free: 1.973 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-06/0.007035, allocations: 0 / 0.7645 GB, free: 1.973 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.877e-05/0.007083, allocations: 11.94 kB / 0.7645 GB, free: 1.961 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.007093, allocations: 3.984 kB / 0.7645 GB, free: 1.957 MB / 0.7136 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 (7): * Single equations (assignments): 7 * 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.46e-05/0.007148, allocations: 113.8 kB / 0.7646 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.53e-05/0.007163, allocations: 4 kB / 0.7646 GB, free: 1.832 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.528e-05/0.007199, allocations: 11.12 kB / 0.7646 GB, free: 1.82 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.0072, allocations: 0 / 0.7646 GB, free: 1.82 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.007202, allocations: 0 / 0.7646 GB, free: 1.82 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.007204, allocations: 3.969 kB / 0.7646 GB, free: 1.82 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.337e-05/0.007278, allocations: 85.83 kB / 0.7647 GB, free: 1.719 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.007278, allocations: 0 / 0.7647 GB, free: 1.719 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.851e-05/0.007367, allocations: 23.95 kB / 0.7647 GB, free: 1.695 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.31e-07/0.007367, allocations: 0 / 0.7647 GB, free: 1.695 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.007379, allocations: 3.984 kB / 0.7647 GB, free: 1.691 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.00738, allocations: 0 / 0.7647 GB, free: 1.691 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.007382, allocations: 4 kB / 0.7647 GB, free: 1.688 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000157/0.007539, allocations: 133.8 kB / 0.7648 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.969e-06/0.007544, allocations: 0 / 0.7648 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.007559, allocations: 6.031 kB / 0.7648 GB, free: 1.535 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.767e-05/0.007617, allocations: 4.125 kB / 0.7648 GB, free: 1.531 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.172e-05/0.007628, allocations: 3.984 kB / 0.7648 GB, free: 1.527 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.007639, allocations: 12 kB / 0.7649 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.396e-06/0.007648, allocations: 9.5 kB / 0.7649 GB, free: 1.504 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.007648, allocations: 0 / 0.7649 GB, free: 1.504 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001433/0.007791, allocations: 32.53 kB / 0.7649 GB, free: 1.473 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (6): * Single equations (assignments): 6 * 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.0001327/0.007924, allocations: 115.7 kB / 0.765 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001026/0.008026, allocations: 64.77 kB / 0.7651 GB, free: 1.289 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.008029, allocations: 0 / 0.7651 GB, free: 1.289 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.802e-05/0.008067, allocations: 36.83 kB / 0.7651 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.353e-05/0.00816, allocations: 22.61 kB / 0.7651 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004148/0.008575, allocations: 156.5 kB / 0.7653 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.755e-05/0.008603, allocations: 55.36 kB / 0.7653 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.000106/0.008709, allocations: 31.2 kB / 0.7654 GB, free: 0.9609 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.875e-05/0.008807, allocations: 68.44 kB / 0.7654 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of SimCode: time 5.31e-07/0.008808, allocations: 0 / 0.7654 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of Templates: time 0.00313/0.01194, allocations: 1.819 MB / 0.7672 GB, free: 15.21 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.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.188759762793779]