Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001324/0.001324, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001386/0.001386, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.422/1.422, allocations: 225.6 MB / 249.4 MB, free: 3.293 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.845/2.845, allocations: 496.2 MB / 0.7819 GB, free: 12.29 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 67.89 kB / 1.136 GB, free: 12.45 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9548/0.9568, allocations: 173.6 MB / 1.305 GB, free: 33.41 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002015/0.9588, allocations: 1.302 MB / 1.307 GB, free: 32.5 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0007697/0.9596, allocations: 0.5832 MB / 1.307 GB, free: 32.11 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.155e-05/0.9596, allocations: 0 / 1.307 GB, free: 32.11 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.705e-05/0.9596, allocations: 0 / 1.307 GB, free: 32.11 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.673e-05/0.9597, allocations: 7.922 kB / 1.307 GB, free: 32.1 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003643/0.96, allocations: 96.78 kB / 1.307 GB, free: 32.06 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.653e-05/0.9601, allocations: 19.03 kB / 1.307 GB, free: 32.05 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.845e-05/0.9601, allocations: 2.406 kB / 1.307 GB, free: 32.05 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.267e-05/0.9602, allocations: 10.75 kB / 1.307 GB, free: 32.04 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.176e-05/0.9602, allocations: 4.969 kB / 1.307 GB, free: 32.04 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.788e-06/0.9602, allocations: 0 / 1.307 GB, free: 32.04 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002407/0.9604, allocations: 147.9 kB / 1.308 GB, free: 32 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.826e-06/0.9605, allocations: 0 / 1.308 GB, free: 32 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.069e-05/0.9605, allocations: 10.81 kB / 1.308 GB, free: 32 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001739/0.9607, allocations: 95.53 kB / 1.308 GB, free: 31.98 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.9607, allocations: 0 / 1.308 GB, free: 31.98 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9607, allocations: 0 / 1.308 GB, free: 31.98 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.9607, allocations: 3.938 kB / 1.308 GB, free: 31.97 MB / 1.061 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.0003396/0.961, allocations: 347.5 kB / 1.308 GB, free: 31.6 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.961, allocations: 8.531 kB / 1.308 GB, free: 31.6 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004285/0.9615, allocations: 27.5 kB / 1.308 GB, free: 31.6 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.847e-05/0.9616, allocations: 174.4 kB / 1.308 GB, free: 31.4 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.9616, allocations: 4.375 kB / 1.308 GB, free: 31.39 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.9616, allocations: 384 / 1.308 GB, free: 31.39 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.9618, allocations: 56.52 kB / 1.308 GB, free: 31.35 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.9618, allocations: 192 / 1.308 GB, free: 31.35 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.9618, allocations: 7.25 kB / 1.308 GB, free: 31.35 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.9618, allocations: 0 / 1.308 GB, free: 31.35 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.9619, allocations: 22 kB / 1.308 GB, free: 31.34 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000137/0.962, allocations: 155.7 kB / 1.308 GB, free: 31.15 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.9622, allocations: 43.09 kB / 1.308 GB, free: 31.12 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.246e-05/0.9622, allocations: 20.55 kB / 1.308 GB, free: 31.11 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.9623, allocations: 0 / 1.308 GB, free: 31.11 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.9623, allocations: 38.48 kB / 1.309 GB, free: 31.06 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 7.02e-07/0.9623, allocations: 2.5 kB / 1.309 GB, free: 31.06 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0002874/0.9626, allocations: 74.47 kB / 1.309 GB, free: 31.01 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.713e-05/0.9626, allocations: 51.41 kB / 1.309 GB, free: 30.95 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.571e-05/0.9626, allocations: 99.95 kB / 1.309 GB, free: 30.85 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.267e-06/0.9627, allocations: 28.73 kB / 1.309 GB, free: 30.82 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.499e-05/0.9627, allocations: 80.14 kB / 1.309 GB, free: 30.73 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.376e-05/0.9627, allocations: 3.953 kB / 1.309 GB, free: 30.73 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.34e-05/0.9627, allocations: 24.2 kB / 1.309 GB, free: 30.71 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.119e-05/0.9628, allocations: 310.8 kB / 1.309 GB, free: 30.39 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.194e-05/0.9628, allocations: 20.12 kB / 1.309 GB, free: 30.39 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.882e-05/0.9629, allocations: 9.094 kB / 1.309 GB, free: 30.39 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001094/0.963, allocations: 39.8 kB / 1.309 GB, free: 30.36 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.963, allocations: 0 / 1.309 GB, free: 30.36 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001462/0.9631, allocations: 54.23 kB / 1.309 GB, free: 30.33 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.9631, allocations: 8.219 kB / 1.309 GB, free: 30.33 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.9632, allocations: 3.938 kB / 1.309 GB, free: 30.32 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.9632, allocations: 0 / 1.309 GB, free: 30.32 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.9633, allocations: 9.641 kB / 1.309 GB, free: 30.32 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.9633, allocations: 4.031 kB / 1.309 GB, free: 30.32 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.047e-05/0.9633, allocations: 6.266 kB / 1.309 GB, free: 30.32 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.9633, allocations: 0 / 1.309 GB, free: 30.32 MB / 1.061 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 4.575e-05/0.9634, allocations: 108.4 kB / 1.309 GB, free: 30.21 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.173e-05/0.9634, allocations: 3.953 kB / 1.309 GB, free: 30.2 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.178e-05/0.9634, allocations: 17.88 kB / 1.309 GB, free: 30.19 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.9634, allocations: 7.312 kB / 1.309 GB, free: 30.18 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.9634, allocations: 4 kB / 1.309 GB, free: 30.18 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.9634, allocations: 0 / 1.309 GB, free: 30.18 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.912e-05/0.9635, allocations: 152.5 kB / 1.31 GB, free: 29.99 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.9635, allocations: 2.844 kB / 1.31 GB, free: 29.99 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.6e-05/0.9636, allocations: 6.469 kB / 1.31 GB, free: 29.99 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.9636, allocations: 0 / 1.31 GB, free: 29.99 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.9636, allocations: 6.844 kB / 1.31 GB, free: 29.98 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.9636, allocations: 0 / 1.31 GB, free: 29.98 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.9636, allocations: 3.281 kB / 1.31 GB, free: 29.98 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001693/0.9638, allocations: 81.44 kB / 1.31 GB, free: 29.91 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.57e-05/0.9638, allocations: 83.88 kB / 1.31 GB, free: 29.82 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.9638, allocations: 7.938 kB / 1.31 GB, free: 29.81 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.288e-05/0.9639, allocations: 6.109 kB / 1.31 GB, free: 29.81 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.251e-05/0.9639, allocations: 0 / 1.31 GB, free: 29.81 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.9639, allocations: 2.906 kB / 1.31 GB, free: 29.81 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.072e-05/0.9639, allocations: 83.31 kB / 1.31 GB, free: 29.73 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.9639, allocations: 3.938 kB / 1.31 GB, free: 29.72 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000204/0.9641, allocations: 19.03 kB / 1.31 GB, free: 29.72 MB / 1.061 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.0001439/0.9643, allocations: 112.4 kB / 1.31 GB, free: 29.62 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000191/0.9645, allocations: 25.06 kB / 1.31 GB, free: 29.62 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.9645, allocations: 4.062 kB / 1.31 GB, free: 29.62 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 6.089e-05/0.9645, allocations: 16.03 kB / 1.31 GB, free: 29.61 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/0.9648, allocations: 10.38 kB / 1.31 GB, free: 29.61 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003413/0.9651, allocations: 129 kB / 1.31 GB, free: 29.49 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.519e-05/0.9652, allocations: 0.6756 MB / 1.311 GB, free: 28.79 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.146e-05/0.9653, allocations: 17.17 kB / 1.311 GB, free: 28.79 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.914e-05/0.9653, allocations: 7.438 kB / 1.311 GB, free: 28.78 MB / 1.061 GB Notification: Performance of SimCode: time 4.71e-07/0.9653, allocations: 0 / 1.311 GB, free: 28.78 MB / 1.061 GB Notification: Performance of Templates: time 0.002967/0.9683, allocations: 0.7477 MB / 1.312 GB, free: 28.7 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.001735956408083]