Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.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.0008888/0.0008888, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009715/0.0009715, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.8926/0.8926, allocations: 177.1 MB / 202.8 MB, free: 5.754 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 1.831/1.831, allocations: 389 MB / 0.633 GB, free: 12.66 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 0.9996 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.42e-05/1.548e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001763/0.001778, allocations: 1.42 MB / 1.001 GB, free: 12.06 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007124/0.00249, allocations: 0.5575 MB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.49e-05/0.002515, allocations: 0 / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.585e-05/0.002541, allocations: 7.875 kB / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.599e-05/0.002587, allocations: 0 / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003657/0.002953, allocations: 107.4 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.308e-05/0.003026, allocations: 23.88 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.915e-05/0.003125, allocations: 11.98 kB / 1.002 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.58e-05/0.003181, allocations: 8 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.717e-05/0.003228, allocations: 7.984 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.003247, allocations: 0 / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002125/0.003459, allocations: 147.7 kB / 1.002 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.7e-05/0.003476, allocations: 7.984 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.7e-05/0.003493, allocations: 0 / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.003677, allocations: 123.6 kB / 1.002 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.003679, allocations: 4 kB / 1.002 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.11e-07/0.00368, allocations: 4 kB / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.003684, allocations: 0 / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000388/0.004072, allocations: 286.1 kB / 1.002 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.004116, allocations: 8.75 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.335e-05/0.00415, allocations: 30.75 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002807/0.00443, allocations: 36.89 kB / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.522e-05/0.004516, allocations: 109.7 kB / 1.002 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.004526, allocations: 4.375 kB / 1.002 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.004538, allocations: 4.359 kB / 1.002 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.004694, allocations: 66.2 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.0047, allocations: 192 / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.00471, allocations: 384 / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.004715, allocations: 4.125 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001376/0.004853, allocations: 59.88 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003257/0.005179, allocations: 236 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.005302, allocations: 66.47 kB / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.48e-05/0.005367, allocations: 32.89 kB / 1.003 GB, free: 10 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.005389, allocations: 0 / 1.003 GB, free: 10 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.005408, allocations: 42.5 kB / 1.003 GB, free: 9.953 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 6.42e-07/0.005409, allocations: 0 / 1.003 GB, free: 9.953 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0002835/0.005693, allocations: 113.7 kB / 1.003 GB, free: 9.836 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.838e-05/0.005721, allocations: 55.34 kB / 1.003 GB, free: 9.77 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.359e-05/0.005775, allocations: 105.8 kB / 1.003 GB, free: 9.656 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.005786, allocations: 25.7 kB / 1.003 GB, free: 9.625 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.129e-05/0.005817, allocations: 80.14 kB / 1.003 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.714e-05/0.005834, allocations: 3.953 kB / 1.003 GB, free: 9.539 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-05/0.005865, allocations: 21.7 kB / 1.003 GB, free: 9.512 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.8e-05/0.005943, allocations: 310.8 kB / 1.004 GB, free: 9.199 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.634e-05/0.006009, allocations: 32 kB / 1.004 GB, free: 9.168 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.673e-05/0.006066, allocations: 27.91 kB / 1.004 GB, free: 9.141 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001248/0.00619, allocations: 56.8 kB / 1.004 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.006192, allocations: 0 / 1.004 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001485/0.00634, allocations: 93.58 kB / 1.004 GB, free: 8.984 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.006354, allocations: 8 kB / 1.004 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.006359, allocations: 0 / 1.004 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.006369, allocations: 0 / 1.004 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.038e-05/0.00644, allocations: 15.98 kB / 1.004 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.006446, allocations: 3.984 kB / 1.004 GB, free: 8.957 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.729e-05/0.006483, allocations: 11.98 kB / 1.004 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-06/0.006491, allocations: 7.984 kB / 1.004 GB, free: 8.938 MB / 0.9636 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 5.354e-05/0.006545, allocations: 105.8 kB / 1.004 GB, free: 8.824 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.428e-05/0.006559, allocations: 3.938 kB / 1.004 GB, free: 8.82 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.561e-05/0.006595, allocations: 11.31 kB / 1.004 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.006597, allocations: 0 / 1.004 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.006601, allocations: 0 / 1.004 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.006604, allocations: 4 kB / 1.004 GB, free: 8.801 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001057/0.00671, allocations: 136.6 kB / 1.004 GB, free: 8.625 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.006711, allocations: 0 / 1.004 GB, free: 8.625 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.281e-05/0.006754, allocations: 15.97 kB / 1.004 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.006757, allocations: 3.938 kB / 1.004 GB, free: 8.605 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.006764, allocations: 0 / 1.004 GB, free: 8.605 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.006765, allocations: 0 / 1.004 GB, free: 8.605 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.006765, allocations: 0 / 1.004 GB, free: 8.605 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001807/0.006946, allocations: 191.4 kB / 1.004 GB, free: 8.402 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.722e-06/0.006953, allocations: 7.938 kB / 1.004 GB, free: 8.395 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.006965, allocations: 4 kB / 1.004 GB, free: 8.391 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.968e-05/0.007014, allocations: 7.984 kB / 1.004 GB, free: 8.383 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.746e-05/0.007042, allocations: 192 / 1.004 GB, free: 8.383 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/0.007045, allocations: 0 / 1.004 GB, free: 8.383 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.387e-05/0.007079, allocations: 87.25 kB / 1.004 GB, free: 8.297 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007079, allocations: 0 / 1.004 GB, free: 8.297 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001608/0.00724, allocations: 23.98 kB / 1.004 GB, free: 8.273 MB / 0.9636 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.000385/0.007625, allocations: 0.7201 MB / 1.005 GB, free: 7.527 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000164/0.007789, allocations: 67.95 kB / 1.005 GB, free: 7.461 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.007791, allocations: 0 / 1.005 GB, free: 7.461 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.218e-05/0.007853, allocations: 27.97 kB / 1.005 GB, free: 7.434 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001842/0.008037, allocations: 9.969 kB / 1.005 GB, free: 7.426 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003646/0.008402, allocations: 162.6 kB / 1.005 GB, free: 7.227 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.766e-05/0.008439, allocations: 59.34 kB / 1.005 GB, free: 7.148 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.09e-05/0.00848, allocations: 11.94 kB / 1.005 GB, free: 7.137 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.508e-05/0.008515, allocations: 8.5 kB / 1.006 GB, free: 7.129 MB / 0.9636 GB Notification: Performance of SimCode: time 3.4e-07/0.008516, allocations: 0 / 1.006 GB, free: 7.129 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01462/0.02313, allocations: 2.352 MB / 1.008 GB, free: 4.91 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.019/7.042, allocations: 12.98 kB / 1.008 GB, free: 4.902 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_SaturationPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.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: 11.30104926135391]