Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001749/0.001749, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002051/0.002051, allocations: 188.8 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 225.6 MB / 251 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.584/2.584, allocations: 443.5 MB / 0.7321 GB, free: 12.27 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pSat",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 59.91 kB / 1.061 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8666/0.8685, allocations: 160.8 MB / 1.218 GB, free: 3.855 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002587/0.8711, allocations: 1.309 MB / 1.22 GB, free: 2.82 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001057/0.8722, allocations: 0.5692 MB / 1.22 GB, free: 2.375 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.801e-05/0.8722, allocations: 1.281 kB / 1.22 GB, free: 2.375 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.449e-05/0.8722, allocations: 0 / 1.22 GB, free: 2.375 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.221e-05/0.8722, allocations: 13.09 kB / 1.22 GB, free: 2.363 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000455/0.8727, allocations: 95.39 kB / 1.22 GB, free: 2.297 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.318e-05/0.8728, allocations: 16.64 kB / 1.22 GB, free: 2.289 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.062e-05/0.8728, allocations: 5.125 kB / 1.22 GB, free: 2.285 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.156e-05/0.8728, allocations: 9.406 kB / 1.22 GB, free: 2.281 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.411e-05/0.8729, allocations: 10.33 kB / 1.22 GB, free: 2.273 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.139e-05/0.8729, allocations: 1.125 kB / 1.22 GB, free: 2.273 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002981/0.8732, allocations: 143 kB / 1.221 GB, free: 2.203 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.638e-06/0.8732, allocations: 0 / 1.221 GB, free: 2.203 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.771e-05/0.8732, allocations: 15.67 kB / 1.221 GB, free: 2.191 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002095/0.8734, allocations: 97.66 kB / 1.221 GB, free: 2.148 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.8734, allocations: 0 / 1.221 GB, free: 2.148 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.943e-06/0.8734, allocations: 1.094 kB / 1.221 GB, free: 2.148 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.8734, allocations: 0 / 1.221 GB, free: 2.148 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004257/0.8739, allocations: 344.9 kB / 1.221 GB, free: 1.773 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.8739, allocations: 9.594 kB / 1.221 GB, free: 1.773 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004275/0.8743, allocations: 24.12 kB / 1.221 GB, free: 1.766 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.8745, allocations: 173.4 kB / 1.221 GB, free: 1.559 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.8745, allocations: 1.469 kB / 1.221 GB, free: 1.559 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.8745, allocations: 5.469 kB / 1.221 GB, free: 1.555 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.8747, allocations: 45.77 kB / 1.221 GB, free: 1.512 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.8747, allocations: 1.219 kB / 1.221 GB, free: 1.512 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.8747, allocations: 3.938 kB / 1.221 GB, free: 1.508 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.8747, allocations: 3.984 kB / 1.221 GB, free: 1.504 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001271/0.8748, allocations: 24.27 kB / 1.221 GB, free: 1.492 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001957/0.875, allocations: 162.2 kB / 1.221 GB, free: 1.289 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001566/0.8752, allocations: 47.8 kB / 1.221 GB, free: 1.246 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.634e-05/0.8753, allocations: 14.69 kB / 1.222 GB, free: 1.234 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.8753, allocations: 1.25 kB / 1.222 GB, free: 1.234 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.8753, allocations: 35.75 kB / 1.222 GB, free: 1.191 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.8753, allocations: 0 / 1.222 GB, free: 1.191 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003506/0.8757, allocations: 80.5 kB / 1.222 GB, free: 1.129 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/0.8757, allocations: 52.53 kB / 1.222 GB, free: 1.066 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.522e-05/0.8758, allocations: 93.05 kB / 1.222 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.8758, allocations: 29.64 kB / 1.222 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.177e-05/0.8758, allocations: 85.22 kB / 1.222 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.481e-05/0.8759, allocations: 9.047 kB / 1.222 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.92e-05/0.8759, allocations: 17 kB / 1.222 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.876, allocations: 311.9 kB / 1.222 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.672e-05/0.8761, allocations: 13.33 kB / 1.222 GB, free: 0.5 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.523e-05/0.8762, allocations: 11.17 kB / 1.222 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/0.8763, allocations: 33.56 kB / 1.222 GB, free: 484 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.8763, allocations: 0.9062 kB / 1.222 GB, free: 484 kB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001926/0.8765, allocations: 63.62 kB / 1.222 GB, free: 432 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.8765, allocations: 4.531 kB / 1.222 GB, free: 432 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.8765, allocations: 5.188 kB / 1.222 GB, free: 428 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.8765, allocations: 0 / 1.222 GB, free: 428 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.8766, allocations: 9.016 kB / 1.222 GB, free: 424 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.8766, allocations: 4.031 kB / 1.222 GB, free: 420 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.27e-05/0.8767, allocations: 2.125 kB / 1.222 GB, free: 420 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.8767, allocations: 1.094 kB / 1.222 GB, free: 420 kB / 0.92 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 8.405e-05/0.8768, allocations: 115.9 kB / 1.222 GB, free: 296 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.184e-05/0.8768, allocations: 1.094 kB / 1.222 GB, free: 296 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.145e-05/0.8768, allocations: 12.08 kB / 1.222 GB, free: 288 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.8768, allocations: 4 kB / 1.222 GB, free: 284 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.8768, allocations: 4.969 kB / 1.222 GB, free: 280 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.8768, allocations: 4.125 kB / 1.222 GB, free: 276 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/0.877, allocations: 158 kB / 1.223 GB, free: 72 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.877, allocations: 0 / 1.223 GB, free: 72 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.161e-05/0.8771, allocations: 9.141 kB / 1.223 GB, free: 68 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.8771, allocations: 5.078 kB / 1.223 GB, free: 64 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.8771, allocations: 5.062 kB / 1.223 GB, free: 60 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.8771, allocations: 0 / 1.223 GB, free: 60 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.8771, allocations: 0 / 1.223 GB, free: 60 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002165/0.8773, allocations: 87.98 kB / 1.223 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.528e-05/0.8774, allocations: 82.47 kB / 1.223 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.8774, allocations: 5.156 kB / 1.223 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.616e-05/0.8774, allocations: 6.109 kB / 1.223 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.899e-06/0.8775, allocations: 0 / 1.223 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.8775, allocations: 5.281 kB / 1.223 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.36e-05/0.8775, allocations: 85.88 kB / 1.223 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.8775, allocations: 0 / 1.223 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002108/0.8777, allocations: 15.41 kB / 1.223 GB, free: 15.78 MB / 0.9356 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.0001737/0.8779, allocations: 109.8 kB / 1.223 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001926/0.8781, allocations: 31.59 kB / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.8781, allocations: 4.062 kB / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 6.832e-05/0.8782, allocations: 16.23 kB / 1.223 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002261/0.8784, allocations: 14.23 kB / 1.223 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003685/0.8787, allocations: 123 kB / 1.223 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.8791, allocations: 0.6789 MB / 1.224 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.295e-05/0.8791, allocations: 11.44 kB / 1.224 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.142e-05/0.8791, allocations: 13.61 kB / 1.224 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of SimCode: time 3.01e-07/0.8791, allocations: 0 / 1.224 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of Templates: time 0.003493/0.8826, allocations: 0.7559 MB / 1.225 GB, free: 14.41 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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.579092795960605]