Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001462/0.001462, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001746/0.001746, allocations: 181 kB / 23.36 MB, free: 1.133 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.9904/0.9904, allocations: 177.1 MB / 203.8 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.504/2.504, allocations: 438.8 MB / 0.6827 GB, free: 13.58 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.8386 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.444e-05/2.634e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002895/0.002921, allocations: 1.392 MB / 0.84 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001269/0.00419, allocations: 0.6423 MB / 0.8406 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.437e-05/0.004214, allocations: 4 kB / 0.8406 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.046e-05/0.004235, allocations: 0 / 0.8406 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.446e-05/0.004289, allocations: 7.875 kB / 0.8406 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004865/0.004776, allocations: 103.4 kB / 0.8407 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 7.306e-05/0.004849, allocations: 27.86 kB / 0.8408 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.164e-05/0.004891, allocations: 4 kB / 0.8408 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 5.05e-05/0.004941, allocations: 19.97 kB / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.93e-05/0.00501, allocations: 7.984 kB / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.005023, allocations: 4 kB / 0.8408 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003048/0.005328, allocations: 147.7 kB / 0.8409 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.686e-05/0.005345, allocations: 3.984 kB / 0.8409 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.057e-05/0.005366, allocations: 8 kB / 0.841 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002111/0.005577, allocations: 111.7 kB / 0.8411 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.005579, allocations: 3.938 kB / 0.8411 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.12e-07/0.00558, allocations: 0 / 0.8411 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.005583, allocations: 0 / 0.8411 GB, free: 11.63 MB / 0.8073 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.0003879/0.005971, allocations: 264.4 kB / 0.8413 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.006011, allocations: 8.625 kB / 0.8413 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003428/0.006353, allocations: 32.84 kB / 0.8414 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.43e-05/0.006448, allocations: 105.8 kB / 0.8415 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.00646, allocations: 384 / 0.8415 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.00648, allocations: 4.375 kB / 0.8415 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.006631, allocations: 92.61 kB / 0.8416 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.006639, allocations: 192 / 0.8416 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.00665, allocations: 4.375 kB / 0.8416 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.006657, allocations: 4.375 kB / 0.8416 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.315e-05/0.0067, allocations: 15.88 kB / 0.8416 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000124/0.006824, allocations: 72.97 kB / 0.8416 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001723/0.006996, allocations: 46.59 kB / 0.8417 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.903e-05/0.007025, allocations: 16.94 kB / 0.8417 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.00704, allocations: 0 / 0.8417 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.007065, allocations: 34.56 kB / 0.8417 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.007066, allocations: 4 kB / 0.8417 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.002413/0.009479, allocations: 472.6 kB / 0.8422 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.00951, allocations: 59.34 kB / 0.8423 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.188e-05/0.009572, allocations: 102.7 kB / 0.8423 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.009591, allocations: 25.7 kB / 0.8424 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.757e-05/0.009618, allocations: 88.14 kB / 0.8425 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.674e-05/0.009655, allocations: 11.86 kB / 0.8425 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.09e-05/0.009716, allocations: 33.67 kB / 0.8425 GB, free: 9.988 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.966e-05/0.009816, allocations: 318.9 kB / 0.8428 GB, free: 9.668 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.271e-05/0.009858, allocations: 19.98 kB / 0.8428 GB, free: 9.648 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.137e-05/0.0099, allocations: 20.06 kB / 0.8428 GB, free: 9.629 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001057/0.01001, allocations: 52.8 kB / 0.8429 GB, free: 9.574 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.01001, allocations: 4 kB / 0.8429 GB, free: 9.57 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001454/0.01015, allocations: 73.61 kB / 0.843 GB, free: 9.492 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.01017, allocations: 8 kB / 0.843 GB, free: 9.484 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.01017, allocations: 4 kB / 0.843 GB, free: 9.48 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.01019, allocations: 0 / 0.843 GB, free: 9.48 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.01033, allocations: 19.97 kB / 0.843 GB, free: 9.461 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.025e-06/0.01033, allocations: 0 / 0.843 GB, free: 9.461 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.909e-05/0.01041, allocations: 15.92 kB / 0.843 GB, free: 9.445 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.01043, allocations: 0 / 0.843 GB, free: 9.445 MB / 0.8073 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.569e-05/0.0105, allocations: 109.8 kB / 0.8431 GB, free: 9.328 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.11e-05/0.01052, allocations: 7.984 kB / 0.8431 GB, free: 9.32 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.733e-05/0.01057, allocations: 12.12 kB / 0.8431 GB, free: 9.312 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.01057, allocations: 0 / 0.8431 GB, free: 9.312 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.01057, allocations: 0 / 0.8431 GB, free: 9.312 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.01058, allocations: 4 kB / 0.8431 GB, free: 9.309 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001083/0.01069, allocations: 85.81 kB / 0.8432 GB, free: 9.207 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01069, allocations: 0 / 0.8432 GB, free: 9.207 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/0.01083, allocations: 31.89 kB / 0.8433 GB, free: 9.176 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.01084, allocations: 0 / 0.8433 GB, free: 9.176 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.01085, allocations: 0 / 0.8433 GB, free: 9.176 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.01085, allocations: 4 kB / 0.8433 GB, free: 9.172 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.01085, allocations: 0 / 0.8433 GB, free: 9.172 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000232/0.01109, allocations: 125 kB / 0.8434 GB, free: 9.031 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.008e-05/0.0111, allocations: 7.938 kB / 0.8434 GB, free: 9.023 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.01112, allocations: 4 kB / 0.8434 GB, free: 9.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.036e-05/0.01121, allocations: 8.031 kB / 0.8434 GB, free: 9.012 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.605e-05/0.01122, allocations: 7.922 kB / 0.8434 GB, free: 9.004 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.01124, allocations: 4 kB / 0.8434 GB, free: 9 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.00028/0.01152, allocations: 8.859 kB / 0.8434 GB, free: 8.988 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1e-07/0.01152, allocations: 0 / 0.8434 GB, free: 8.988 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002345/0.01175, allocations: 35.86 kB / 0.8434 GB, free: 8.953 MB / 0.8073 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.0001857/0.01194, allocations: 112.6 kB / 0.8436 GB, free: 8.836 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001395/0.01208, allocations: 64.92 kB / 0.8436 GB, free: 8.77 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.01208, allocations: 0 / 0.8436 GB, free: 8.77 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.775e-05/0.01214, allocations: 36.77 kB / 0.8437 GB, free: 8.73 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001215/0.01226, allocations: 19.92 kB / 0.8437 GB, free: 8.711 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006012/0.01286, allocations: 152.6 kB / 0.8438 GB, free: 8.535 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.364e-05/0.01289, allocations: 55.36 kB / 0.8439 GB, free: 8.461 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001572/0.01305, allocations: 31.86 kB / 0.8439 GB, free: 8.43 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/0.01318, allocations: 71.34 kB / 0.844 GB, free: 8.359 MB / 0.8073 GB Notification: Performance of SimCode: time 5.71e-07/0.01318, allocations: 0 / 0.844 GB, free: 8.359 MB / 0.8073 GB Notification: Performance of Templates: time 0.004257/0.01744, allocations: 1.819 MB / 0.8457 GB, free: 6.59 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.4365618461743]