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.001948/0.001948, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 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.002351/0.002351, allocations: 158.9 kB / 23.01 MB, free: 4.602 MB / 14.72 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.422/1.422, allocations: 177.2 MB / 203.4 MB, free: 8.934 MB / 190.1 MB " [Timeout remaining time 178] 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.867/2.867, allocations: 394.2 MB / 0.6387 GB, free: 11.94 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002215/0.002215, allocations: 67.89 kB / 1.009 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8398/0.842, allocations: 181.8 MB / 1.187 GB, free: 16.21 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.00209/0.8441, allocations: 1.316 MB / 1.188 GB, free: 15.3 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0009025/0.845, allocations: 0.598 MB / 1.188 GB, free: 14.92 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.196e-05/0.845, allocations: 0 / 1.188 GB, free: 14.92 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 1.544e-05/0.845, allocations: 1.984 kB / 1.188 GB, free: 14.92 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 3.943e-05/0.845, allocations: 4.594 kB / 1.188 GB, free: 14.92 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003976/0.8454, allocations: 112.8 kB / 1.189 GB, free: 14.86 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 5.909e-05/0.8455, allocations: 24.06 kB / 1.189 GB, free: 14.86 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.951e-05/0.8455, allocations: 2.031 kB / 1.189 GB, free: 14.86 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 2.053e-05/0.8456, allocations: 10.81 kB / 1.189 GB, free: 14.85 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 6.229e-05/0.8456, allocations: 16.52 kB / 1.189 GB, free: 14.84 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.8456, allocations: 1.375 kB / 1.189 GB, free: 14.84 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002682/0.8459, allocations: 140.7 kB / 1.189 GB, free: 14.81 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.53e-05/0.8459, allocations: 2.219 kB / 1.189 GB, free: 14.81 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.416e-05/0.8459, allocations: 13.47 kB / 1.189 GB, free: 14.8 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002042/0.8461, allocations: 96.45 kB / 1.189 GB, free: 14.78 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.8461, allocations: 1.062 kB / 1.189 GB, free: 14.78 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.192e-06/0.8461, allocations: 0 / 1.189 GB, free: 14.78 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.8462, allocations: 0 / 1.189 GB, free: 14.78 MB / 1.076 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.0003641/0.8465, allocations: 282.8 kB / 1.189 GB, free: 14.5 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.8466, allocations: 9.281 kB / 1.189 GB, free: 14.5 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004437/0.847, allocations: 29.75 kB / 1.189 GB, free: 14.5 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.991e-05/0.8471, allocations: 117 kB / 1.189 GB, free: 14.36 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.8471, allocations: 2.297 kB / 1.189 GB, free: 14.36 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.962e-05/0.8471, allocations: 6.469 kB / 1.189 GB, free: 14.36 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.8473, allocations: 88.58 kB / 1.189 GB, free: 14.29 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.8473, allocations: 192 / 1.189 GB, free: 14.29 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.8473, allocations: 5.281 kB / 1.189 GB, free: 14.28 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.8473, allocations: 0 / 1.189 GB, free: 14.28 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001474/0.8474, allocations: 26.27 kB / 1.189 GB, free: 14.28 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001084/0.8475, allocations: 110.9 kB / 1.19 GB, free: 14.15 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003033/0.8478, allocations: 71.02 kB / 1.19 GB, free: 14.11 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.809e-05/0.8479, allocations: 28.17 kB / 1.19 GB, free: 14.09 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.8479, allocations: 1.062 kB / 1.19 GB, free: 14.09 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.31e-05/0.8479, allocations: 36.25 kB / 1.19 GB, free: 14.05 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.848, allocations: 1.094 kB / 1.19 GB, free: 14.05 MB / 1.076 GB Notification: Performance of matching and sorting (n=6): time 0.00336/0.8513, allocations: 0.5047 MB / 1.19 GB, free: 13.8 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.784e-05/0.8513, allocations: 53.12 kB / 1.19 GB, free: 13.74 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.433e-05/0.8514, allocations: 94.84 kB / 1.19 GB, free: 13.64 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.8514, allocations: 29.7 kB / 1.19 GB, free: 13.61 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 1.351e-05/0.8514, allocations: 81.52 kB / 1.19 GB, free: 13.53 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.923e-05/0.8514, allocations: 20.53 kB / 1.19 GB, free: 13.51 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.072e-05/0.8515, allocations: 25.45 kB / 1.19 GB, free: 13.49 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.614e-05/0.8515, allocations: 318.6 kB / 1.191 GB, free: 13.18 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.8516, allocations: 37.77 kB / 1.191 GB, free: 13.16 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.8518, allocations: 43.61 kB / 1.191 GB, free: 13.15 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002765/0.8521, allocations: 82.55 kB / 1.191 GB, free: 13.11 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.8521, allocations: 4 kB / 1.191 GB, free: 13.11 MB / 1.076 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003388/0.8524, allocations: 117.5 kB / 1.191 GB, free: 13.05 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.8524, allocations: 5.844 kB / 1.191 GB, free: 13.05 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.8524, allocations: 4.594 kB / 1.191 GB, free: 13.05 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.8524, allocations: 1.281 kB / 1.191 GB, free: 13.05 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002228/0.8526, allocations: 30.12 kB / 1.191 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.8527, allocations: 5.031 kB / 1.191 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001536/0.8528, allocations: 6.031 kB / 1.191 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.8528, allocations: 4.406 kB / 1.191 GB, free: 13.04 MB / 1.076 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.049e-05/0.8529, allocations: 113.7 kB / 1.191 GB, free: 12.92 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/0.8529, allocations: 5.953 kB / 1.191 GB, free: 12.92 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.324e-05/0.8529, allocations: 17.38 kB / 1.191 GB, free: 12.9 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.853, allocations: 1.625 kB / 1.191 GB, free: 12.9 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.853, allocations: 1 kB / 1.191 GB, free: 12.9 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.853, allocations: 0.75 kB / 1.191 GB, free: 12.9 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.179e-05/0.853, allocations: 123.2 kB / 1.191 GB, free: 12.77 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.8531, allocations: 64 / 1.191 GB, free: 12.77 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002269/0.8533, allocations: 26.27 kB / 1.191 GB, free: 12.76 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.8533, allocations: 0.5625 kB / 1.191 GB, free: 12.76 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.8533, allocations: 8.125 kB / 1.191 GB, free: 12.76 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.8533, allocations: 9.344 kB / 1.191 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.8533, allocations: 0.6562 kB / 1.191 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005182/0.8538, allocations: 188.8 kB / 1.192 GB, free: 12.64 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.635e-06/0.8538, allocations: 9.797 kB / 1.192 GB, free: 12.64 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/0.8538, allocations: 1.656 kB / 1.192 GB, free: 12.64 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/0.854, allocations: 18.17 kB / 1.192 GB, free: 12.63 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.455e-05/0.8541, allocations: 3.266 kB / 1.192 GB, free: 12.63 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.8541, allocations: 5.25 kB / 1.192 GB, free: 12.63 MB / 1.076 GB Notification: Performance of sorting global known variables: time 1.568e-05/0.8541, allocations: 78.77 kB / 1.192 GB, free: 12.55 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.8541, allocations: 0 / 1.192 GB, free: 12.55 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002454/0.8543, allocations: 35.62 kB / 1.192 GB, free: 12.54 MB / 1.076 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.000161/0.8545, allocations: 128.2 kB / 1.192 GB, free: 12.45 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003351/0.8548, allocations: 87.39 kB / 1.192 GB, free: 12.42 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.8548, allocations: 0 / 1.192 GB, free: 12.42 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001502/0.855, allocations: 45.7 kB / 1.192 GB, free: 12.41 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002136/0.8552, allocations: 17.89 kB / 1.192 GB, free: 12.4 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005848/0.8558, allocations: 162.8 kB / 1.192 GB, free: 12.28 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.034e-05/0.8558, allocations: 62.14 kB / 1.192 GB, free: 12.21 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001455/0.856, allocations: 29.09 kB / 1.192 GB, free: 12.19 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.143e-05/0.856, allocations: 18.52 kB / 1.192 GB, free: 12.18 MB / 1.076 GB Notification: Performance of SimCode: time 3.51e-07/0.856, allocations: 3.938 kB / 1.192 GB, free: 12.17 MB / 1.076 GB Notification: Performance of Templates: time 0.00447/0.8605, allocations: 1.57 MB / 1.194 GB, free: 12.04 MB / 1.076 GB " [Timeout remaining time 299] 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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.675405038986355]