Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.001327/0.001327, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001624/0.001624, allocations: 216.4 kB / 22.25 MB, free: 5.242 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.482/1.482, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.786/2.786, allocations: 476 MB / 0.7699 GB, free: 4.762 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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.SaturationPressureLiquid,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) [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.002258/0.002258, allocations: 61.03 kB / 1.117 GB, free: 9.191 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3454, allocations: 169.9 MB / 1.283 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002801/0.3482, allocations: 1.43 MB / 1.284 GB, free: 2.855 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0005553/0.3488, allocations: 195.5 kB / 1.284 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.305e-05/0.3488, allocations: 0 / 1.284 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.391e-05/0.3488, allocations: 7.875 kB / 1.284 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.995e-05/0.3489, allocations: 7.984 kB / 1.284 GB, free: 2.648 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000229/0.3491, allocations: 27.84 kB / 1.284 GB, free: 2.621 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.922e-05/0.3492, allocations: 31.92 kB / 1.284 GB, free: 2.59 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.876e-05/0.3493, allocations: 0 / 1.284 GB, free: 2.59 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.486e-05/0.3494, allocations: 11.98 kB / 1.284 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.353e-05/0.3494, allocations: 11.92 kB / 1.284 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.3494, allocations: 4 kB / 1.284 GB, free: 2.562 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.3495, allocations: 27.97 kB / 1.284 GB, free: 2.535 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.398e-05/0.3495, allocations: 7.938 kB / 1.284 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.065e-05/0.3495, allocations: 7.938 kB / 1.284 GB, free: 2.52 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001201/0.3497, allocations: 44.11 kB / 1.284 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3497, allocations: 0 / 1.284 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3497, allocations: 0 / 1.284 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.927e-06/0.3497, allocations: 4 kB / 1.284 GB, free: 2.473 MB / 0.9825 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.0004336/0.3501, allocations: 266.3 kB / 1.285 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.3502, allocations: 16.02 kB / 1.285 GB, free: 2.164 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.341e-05/0.3502, allocations: 30.75 kB / 1.285 GB, free: 2.125 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001408/0.3503, allocations: 4.938 kB / 1.285 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.3504, allocations: 122.4 kB / 1.285 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.3505, allocations: 384 / 1.285 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/0.3505, allocations: 4.375 kB / 1.285 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.3506, allocations: 50.23 kB / 1.285 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.3506, allocations: 7.938 kB / 1.285 GB, free: 1.91 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.587e-06/0.3507, allocations: 3.984 kB / 1.285 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.3507, allocations: 0 / 1.285 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001578/0.3508, allocations: 31.97 kB / 1.285 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003312/0.3512, allocations: 212.1 kB / 1.285 GB, free: 1.625 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.3513, allocations: 42.44 kB / 1.285 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.623e-05/0.3514, allocations: 28.91 kB / 1.285 GB, free: 1.543 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/0.3514, allocations: 0 / 1.285 GB, free: 1.543 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.3514, allocations: 34.55 kB / 1.285 GB, free: 1.5 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.3514, allocations: 0 / 1.285 GB, free: 1.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003291/0.3517, allocations: 81.64 kB / 1.285 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.3518, allocations: 55.34 kB / 1.285 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.516e-05/0.3519, allocations: 101.9 kB / 1.285 GB, free: 1.238 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.3519, allocations: 25.83 kB / 1.285 GB, free: 1.207 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.058e-05/0.3519, allocations: 84.14 kB / 1.285 GB, free: 1.121 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.73e-05/0.352, allocations: 7.953 kB / 1.285 GB, free: 1.113 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.519e-05/0.352, allocations: 17.7 kB / 1.285 GB, free: 1.09 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.3521, allocations: 310.8 kB / 1.286 GB, free: 0.7773 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.262e-05/0.3522, allocations: 15.98 kB / 1.286 GB, free: 0.7617 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.897e-05/0.3523, allocations: 15.98 kB / 1.286 GB, free: 0.7461 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001663/0.3525, allocations: 44.88 kB / 1.286 GB, free: 0.6992 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.3525, allocations: 7.875 kB / 1.286 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002004/0.3527, allocations: 69.59 kB / 1.286 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.3527, allocations: 8 kB / 1.286 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.3527, allocations: 0 / 1.286 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.3527, allocations: 0 / 1.286 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.371e-05/0.3528, allocations: 7.984 kB / 1.286 GB, free: 0.6016 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.3528, allocations: 11.92 kB / 1.286 GB, free: 0.5898 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.686e-05/0.3528, allocations: 4.031 kB / 1.286 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-06/0.3528, allocations: 4 kB / 1.286 GB, free: 0.582 MB / 0.9825 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 7.744e-05/0.3529, allocations: 109.8 kB / 1.286 GB, free: 476 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.596e-05/0.3529, allocations: 7.953 kB / 1.286 GB, free: 468 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002421/0.3532, allocations: 77.12 kB / 1.286 GB, free: 388 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.3532, allocations: 4 kB / 1.286 GB, free: 384 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3532, allocations: 0 / 1.286 GB, free: 384 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3532, allocations: 4 kB / 1.286 GB, free: 380 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/0.3534, allocations: 128.7 kB / 1.286 GB, free: 208 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.3534, allocations: 3.938 kB / 1.286 GB, free: 204 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.951e-05/0.3534, allocations: 11.98 kB / 1.286 GB, free: 192 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3534, allocations: 0 / 1.286 GB, free: 192 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.3534, allocations: 4 kB / 1.286 GB, free: 188 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3534, allocations: 4 kB / 1.286 GB, free: 184 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3534, allocations: 0 / 1.286 GB, free: 184 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002512/0.3537, allocations: 164.9 kB / 1.286 GB, free: 4 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.44e-05/0.3537, allocations: 15.94 kB / 1.286 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.3537, allocations: 4 kB / 1.286 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.05e-05/0.3538, allocations: 4 kB / 1.286 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.592e-05/0.3539, allocations: 3.984 kB / 1.286 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.3539, allocations: 4 kB / 1.286 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.778e-05/0.3539, allocations: 79.28 kB / 1.287 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3539, allocations: 0 / 1.287 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002187/0.3541, allocations: 11.94 kB / 1.287 GB, free: 15.88 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 (3): * Single equations (assignments): 3 * 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.0005663/0.3547, allocations: 0.7006 MB / 1.287 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002033/0.3549, allocations: 35.97 kB / 1.287 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.3549, allocations: 0 / 1.287 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.273e-05/0.355, allocations: 27.91 kB / 1.287 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.3553, allocations: 4 kB / 1.287 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004443/0.3557, allocations: 148.6 kB / 1.287 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.257e-05/0.3558, allocations: 71.33 kB / 1.288 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.555e-05/0.3558, allocations: 0 / 1.288 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.842e-05/0.3558, allocations: 11.42 kB / 1.288 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of SimCode: time 3.4e-07/0.3558, allocations: 0 / 1.288 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03275/0.3886, allocations: 1.898 MB / 1.289 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.53, allocations: 0.75 kB / 1.289 GB, free: 13.04 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_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_Examples_SaturationPressureLiquid.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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: 18.303155702073127]