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.000789/0.000789, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0009331/0.0009331, allocations: 161.4 kB / 24.16 MB, free: 328 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 0.8911/0.8911, allocations: 177.2 MB / 204.6 MB, free: 5.105 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.842/1.842, allocations: 377.9 MB / 0.624 GB, free: 8.34 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.583e-06/1.583e-06, allocations: 0 / 0.76 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.483e-05/1.641e-05, allocations: 2.312 kB / 0.76 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002456/0.002472, allocations: 1.344 MB / 0.7613 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001107/0.003579, allocations: 0.6523 MB / 0.762 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.801e-05/0.003597, allocations: 0 / 0.762 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.761e-05/0.003615, allocations: 0 / 0.762 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.847e-05/0.003663, allocations: 7.312 kB / 0.762 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004659/0.004129, allocations: 112.6 kB / 0.7621 GB, free: 4.512 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.118e-05/0.00419, allocations: 26.02 kB / 0.7621 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.006e-05/0.00423, allocations: 4 kB / 0.7621 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.723e-05/0.004277, allocations: 19.97 kB / 0.7621 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.106e-05/0.004339, allocations: 7.984 kB / 0.7622 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.004351, allocations: 0.7812 kB / 0.7622 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002361/0.004587, allocations: 139.7 kB / 0.7623 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.721e-05/0.004604, allocations: 9.25 kB / 0.7623 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.732e-05/0.004622, allocations: 7.984 kB / 0.7623 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002055/0.004827, allocations: 111.7 kB / 0.7624 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.004829, allocations: 1.156 kB / 0.7624 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.91e-07/0.00483, allocations: 0 / 0.7624 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.675e-06/0.004832, allocations: 0 / 0.7624 GB, free: 4.195 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.000359/0.005191, allocations: 261.6 kB / 0.7627 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.005226, allocations: 12.03 kB / 0.7627 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003029/0.005529, allocations: 34.2 kB / 0.7627 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.233e-05/0.005621, allocations: 110.3 kB / 0.7628 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.005632, allocations: 1.969 kB / 0.7628 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.551e-05/0.005657, allocations: 4.375 kB / 0.7628 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.005806, allocations: 92.62 kB / 0.7629 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.425e-06/0.005815, allocations: 1.406 kB / 0.7629 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.005825, allocations: 384 / 0.7629 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.005832, allocations: 4.375 kB / 0.7629 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.442e-05/0.005877, allocations: 17.42 kB / 0.7629 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001182/0.005995, allocations: 57.05 kB / 0.763 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/0.006173, allocations: 63.05 kB / 0.763 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.851e-05/0.006202, allocations: 13.61 kB / 0.7631 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.006216, allocations: 0.75 kB / 0.7631 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.006243, allocations: 34.64 kB / 0.7631 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.352e-06/0.006244, allocations: 4.812 kB / 0.7631 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.002389/0.008633, allocations: 477.5 kB / 0.7635 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.008669, allocations: 55.34 kB / 0.7636 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.747e-05/0.008726, allocations: 99.75 kB / 0.7637 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.008748, allocations: 30.64 kB / 0.7637 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.701e-05/0.008775, allocations: 84.14 kB / 0.7638 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.77e-05/0.008812, allocations: 19.83 kB / 0.7638 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.359e-05/0.008866, allocations: 26.42 kB / 0.7638 GB, free: 2.566 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.965e-05/0.008956, allocations: 318.8 kB / 0.7642 GB, free: 2.246 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.711e-05/0.009003, allocations: 22.73 kB / 0.7642 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.027e-05/0.009043, allocations: 19.98 kB / 0.7642 GB, free: 2.207 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.628e-05/0.009139, allocations: 44.83 kB / 0.7642 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.00914, allocations: 0 / 0.7642 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001475/0.009288, allocations: 84.69 kB / 0.7643 GB, free: 2.074 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.009301, allocations: 4 kB / 0.7643 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.009306, allocations: 4 kB / 0.7643 GB, free: 2.066 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.009322, allocations: 3.984 kB / 0.7643 GB, free: 2.062 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.009474, allocations: 19.98 kB / 0.7643 GB, free: 2.043 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.056e-06/0.009477, allocations: 0 / 0.7643 GB, free: 2.043 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.828e-05/0.009555, allocations: 13.77 kB / 0.7644 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.009568, allocations: 0 / 0.7644 GB, free: 2.031 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 7.589e-05/0.009644, allocations: 109.8 kB / 0.7645 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.517e-05/0.009669, allocations: 7.984 kB / 0.7645 GB, free: 1.906 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.239e-05/0.009721, allocations: 18.22 kB / 0.7645 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.009723, allocations: 0.625 kB / 0.7645 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-06/0.009725, allocations: 0.6875 kB / 0.7645 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.009728, allocations: 0 / 0.7645 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.009834, allocations: 82.34 kB / 0.7646 GB, free: 1.789 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.009835, allocations: 0 / 0.7646 GB, free: 1.789 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000144/0.009979, allocations: 20.59 kB / 0.7646 GB, free: 1.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.009985, allocations: 8.531 kB / 0.7646 GB, free: 1.762 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.01, allocations: 9.484 kB / 0.7646 GB, free: 1.754 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.01, allocations: 3.938 kB / 0.7646 GB, free: 1.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.01, allocations: 4.062 kB / 0.7646 GB, free: 1.746 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002336/0.01024, allocations: 122.1 kB / 0.7647 GB, free: 1.609 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.534e-06/0.01025, allocations: 4 kB / 0.7647 GB, free: 1.605 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/0.01027, allocations: 0.75 kB / 0.7647 GB, free: 1.605 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.01038, allocations: 4.656 kB / 0.7647 GB, free: 1.602 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.047e-05/0.0104, allocations: 12.64 kB / 0.7648 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.01041, allocations: 0 / 0.7648 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.598e-05/0.01043, allocations: 18.36 kB / 0.7648 GB, free: 1.57 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8e-08/0.01043, allocations: 0 / 0.7648 GB, free: 1.57 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002268/0.01066, allocations: 31.88 kB / 0.7648 GB, free: 1.539 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.0001764/0.01083, allocations: 114.5 kB / 0.7649 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000141/0.01097, allocations: 56.83 kB / 0.765 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.01098, allocations: 0 / 0.765 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.675e-05/0.01103, allocations: 35.27 kB / 0.765 GB, free: 1.328 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001151/0.01115, allocations: 28.81 kB / 0.765 GB, free: 1.301 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005728/0.01172, allocations: 153.9 kB / 0.7652 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.489e-05/0.01176, allocations: 55.36 kB / 0.7652 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001573/0.01191, allocations: 27.27 kB / 0.7652 GB, free: 1.039 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.01204, allocations: 68.03 kB / 0.7653 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of SimCode: time 8.52e-07/0.01205, allocations: 0 / 0.7653 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of Templates: time 0.003071/0.01512, allocations: 1.816 MB / 0.7671 GB, free: 15.29 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 -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: 4.646635858807713]