Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001396/0.001396, allocations: 109 kB / 17.54 MB, free: 4.781 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.001411/0.001411, allocations: 189.9 kB / 20.71 MB, free: 1.625 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.293/1.293, allocations: 225.6 MB / 249.3 MB, free: 3.223 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.486/2.486, allocations: 476.7 MB / 0.7628 GB, free: 15.18 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 67.89 kB / 1.107 GB, free: 5.211 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7687/0.7706, allocations: 168.7 MB / 1.271 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001968/0.7726, allocations: 1.306 MB / 1.273 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007551/0.7733, allocations: 0.5734 MB / 1.273 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.596e-05/0.7733, allocations: 0.7188 kB / 1.273 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.941e-05/0.7734, allocations: 4.5 kB / 1.273 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.742e-05/0.7734, allocations: 10.11 kB / 1.273 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003417/0.7737, allocations: 98.39 kB / 1.273 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.68e-05/0.7738, allocations: 18.81 kB / 1.273 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.487e-05/0.7738, allocations: 2.016 kB / 1.273 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.13e-05/0.7739, allocations: 8.688 kB / 1.273 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.012e-05/0.7739, allocations: 4.688 kB / 1.273 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.809e-06/0.7739, allocations: 0.8438 kB / 1.273 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002667/0.7742, allocations: 141.9 kB / 1.273 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.576e-06/0.7742, allocations: 8.719 kB / 1.273 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.989e-05/0.7742, allocations: 12.09 kB / 1.274 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001691/0.7744, allocations: 96.44 kB / 1.274 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.7744, allocations: 0 / 1.274 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.7744, allocations: 0 / 1.274 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.7744, allocations: 0.875 kB / 1.274 GB, free: 6.305 MB / 0.9981 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.0002718/0.7747, allocations: 340.7 kB / 1.274 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.7747, allocations: 9.781 kB / 1.274 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.188e-05/0.7747, allocations: 35.3 kB / 1.274 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000389/0.7751, allocations: 35.62 kB / 1.274 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.608e-05/0.7752, allocations: 169.1 kB / 1.274 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.7752, allocations: 8.5 kB / 1.274 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.7752, allocations: 2.156 kB / 1.274 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.7754, allocations: 41.2 kB / 1.274 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.7754, allocations: 7.875 kB / 1.274 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.7754, allocations: 4.938 kB / 1.274 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.7754, allocations: 0 / 1.274 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001294/0.7755, allocations: 24.84 kB / 1.274 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001292/0.7757, allocations: 156.5 kB / 1.274 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.7758, allocations: 47.36 kB / 1.274 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.993e-05/0.7759, allocations: 14.34 kB / 1.274 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.7759, allocations: 0.6562 kB / 1.274 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.7759, allocations: 35.62 kB / 1.274 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.7759, allocations: 0 / 1.274 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.000291/0.7762, allocations: 82.08 kB / 1.275 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.951e-05/0.7762, allocations: 51.41 kB / 1.275 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.508e-05/0.7763, allocations: 97.33 kB / 1.275 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.905e-06/0.7763, allocations: 29.64 kB / 1.275 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.211e-05/0.7763, allocations: 81.14 kB / 1.275 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.7763, allocations: 9.109 kB / 1.275 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.978e-05/0.7764, allocations: 13.19 kB / 1.275 GB, free: 5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.645e-05/0.7764, allocations: 319 kB / 1.275 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.194e-05/0.7765, allocations: 11.28 kB / 1.275 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.44e-05/0.7765, allocations: 10.09 kB / 1.275 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.7766, allocations: 36.31 kB / 1.275 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.7766, allocations: 0 / 1.275 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001554/0.7768, allocations: 60.03 kB / 1.275 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.7768, allocations: 8.844 kB / 1.275 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.7768, allocations: 0.8438 kB / 1.275 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.7768, allocations: 1.031 kB / 1.275 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.121e-05/0.7769, allocations: 9.094 kB / 1.275 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.7769, allocations: 1.031 kB / 1.275 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.544e-05/0.777, allocations: 1.906 kB / 1.275 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.777, allocations: 5.734 kB / 1.275 GB, free: 4.613 MB / 0.9981 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.018e-05/0.777, allocations: 113 kB / 1.275 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.317e-05/0.777, allocations: 9.797 kB / 1.275 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.321e-05/0.7771, allocations: 8.141 kB / 1.275 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.7771, allocations: 3.938 kB / 1.275 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.7771, allocations: 2.891 kB / 1.275 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.7771, allocations: 0 / 1.275 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.736e-05/0.7771, allocations: 159.2 kB / 1.276 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.7771, allocations: 3.938 kB / 1.276 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.206e-05/0.7772, allocations: 7.828 kB / 1.276 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.7772, allocations: 3.938 kB / 1.276 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.096e-06/0.7772, allocations: 3.156 kB / 1.276 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.7772, allocations: 0 / 1.276 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.7772, allocations: 1.156 kB / 1.276 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001664/0.7774, allocations: 85.42 kB / 1.276 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.431e-05/0.7774, allocations: 84.8 kB / 1.276 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.7774, allocations: 5.453 kB / 1.276 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.704e-05/0.7775, allocations: 2.438 kB / 1.276 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.138e-06/0.7775, allocations: 1.672 kB / 1.276 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.7775, allocations: 6.641 kB / 1.276 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.757e-05/0.7775, allocations: 84.69 kB / 1.276 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.1e-08/0.7775, allocations: 0.8125 kB / 1.276 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001914/0.7777, allocations: 19 kB / 1.276 GB, free: 4.008 MB / 0.9981 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.0003308/0.778, allocations: 0.6302 MB / 1.276 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001703/0.7782, allocations: 32.69 kB / 1.277 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.7782, allocations: 0 / 1.277 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 6.485e-05/0.7783, allocations: 19.62 kB / 1.277 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001879/0.7785, allocations: 11.41 kB / 1.277 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003837/0.7788, allocations: 152.8 kB / 1.277 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.121e-05/0.7789, allocations: 0.6737 MB / 1.277 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 5.421e-05/0.779, allocations: 12.06 kB / 1.277 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.524e-05/0.779, allocations: 10.94 kB / 1.277 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of SimCode: time 3.7e-07/0.779, allocations: 1.031 kB / 1.277 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02276/0.8018, allocations: 1.555 MB / 1.279 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7/7.802, allocations: 9.594 kB / 1.279 GB, free: 2.137 MB / 0.9981 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 13.15322726299928]