Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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: 113 kB / 16.46 MB, free: 6.453 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.001505/0.001505, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.521/1.521, allocations: 230.6 MB / 252.8 MB, free: 8.953 MB / 206.1 MB " [Timeout remaining time 178] 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 3.33/3.33, allocations: 0.505 GB / 0.8066 GB, free: 23.02 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.SaturationPressureLiquid,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_latest_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.003319/0.003319, allocations: 65.53 kB / 1.172 GB, free: 17.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4274/0.4307, allocations: 180.2 MB / 1.348 GB, free: 10.06 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002608/0.4333, allocations: 1.427 MB / 1.349 GB, free: 8.625 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.000502/0.4338, allocations: 211.8 kB / 1.349 GB, free: 8.418 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.986e-05/0.4339, allocations: 0 / 1.349 GB, free: 8.418 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.757e-05/0.4339, allocations: 0 / 1.349 GB, free: 8.418 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.36e-05/0.4339, allocations: 7.938 kB / 1.349 GB, free: 8.41 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002315/0.4342, allocations: 31.89 kB / 1.349 GB, free: 8.379 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.376e-05/0.4342, allocations: 27.86 kB / 1.349 GB, free: 8.352 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.22e-05/0.4343, allocations: 4 kB / 1.349 GB, free: 8.348 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.745e-05/0.4344, allocations: 7.984 kB / 1.349 GB, free: 8.34 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.344e-05/0.4344, allocations: 15.92 kB / 1.349 GB, free: 8.324 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.4344, allocations: 4 kB / 1.349 GB, free: 8.32 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.4345, allocations: 27.97 kB / 1.349 GB, free: 8.293 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.313e-05/0.4346, allocations: 7.938 kB / 1.349 GB, free: 8.285 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.492e-05/0.4346, allocations: 15.94 kB / 1.349 GB, free: 8.27 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001383/0.4347, allocations: 40.11 kB / 1.35 GB, free: 8.23 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.4347, allocations: 7.984 kB / 1.35 GB, free: 8.223 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.913e-06/0.4347, allocations: 0 / 1.35 GB, free: 8.223 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.4347, allocations: 0 / 1.35 GB, free: 8.223 MB / 1.045 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.0005116/0.4353, allocations: 343.4 kB / 1.35 GB, free: 7.836 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.4353, allocations: 11.98 kB / 1.35 GB, free: 7.824 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.515e-05/0.4353, allocations: 34.75 kB / 1.35 GB, free: 7.781 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001603/0.4355, allocations: 12.89 kB / 1.35 GB, free: 7.77 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.4356, allocations: 168.3 kB / 1.35 GB, free: 7.566 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.888e-06/0.4356, allocations: 4.375 kB / 1.35 GB, free: 7.562 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.4356, allocations: 8.375 kB / 1.35 GB, free: 7.555 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.4358, allocations: 50.22 kB / 1.35 GB, free: 7.5 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.4358, allocations: 3.938 kB / 1.35 GB, free: 7.496 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.4358, allocations: 4 kB / 1.35 GB, free: 7.492 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.4358, allocations: 0 / 1.35 GB, free: 7.492 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001702/0.436, allocations: 31.91 kB / 1.35 GB, free: 7.461 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003526/0.4364, allocations: 249 kB / 1.35 GB, free: 7.168 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.4365, allocations: 38.5 kB / 1.35 GB, free: 7.121 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.136e-05/0.4366, allocations: 24.91 kB / 1.35 GB, free: 7.094 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.573e-05/0.4366, allocations: 0 / 1.35 GB, free: 7.094 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.4366, allocations: 46.42 kB / 1.351 GB, free: 7.039 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.4366, allocations: 0 / 1.351 GB, free: 7.039 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0003599/0.437, allocations: 77.64 kB / 1.351 GB, free: 6.957 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.437, allocations: 55.41 kB / 1.351 GB, free: 6.891 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.719e-05/0.4371, allocations: 93.86 kB / 1.351 GB, free: 6.789 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.4371, allocations: 29.7 kB / 1.351 GB, free: 6.754 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.102e-05/0.4372, allocations: 92.22 kB / 1.351 GB, free: 6.66 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.979e-05/0.4372, allocations: 7.938 kB / 1.351 GB, free: 6.652 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.204e-05/0.4372, allocations: 13.72 kB / 1.351 GB, free: 6.633 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.4374, allocations: 314.8 kB / 1.351 GB, free: 6.316 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.701e-05/0.4375, allocations: 11.98 kB / 1.351 GB, free: 6.305 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.941e-05/0.4376, allocations: 15.98 kB / 1.351 GB, free: 6.289 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001673/0.4377, allocations: 48.81 kB / 1.351 GB, free: 6.238 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.4377, allocations: 7.875 kB / 1.351 GB, free: 6.23 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002019/0.4379, allocations: 65.66 kB / 1.351 GB, free: 6.16 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.4379, allocations: 6.188 kB / 1.351 GB, free: 6.156 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.4379, allocations: 0 / 1.351 GB, free: 6.156 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.438, allocations: 4 kB / 1.351 GB, free: 6.152 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.479e-05/0.438, allocations: 8.016 kB / 1.351 GB, free: 6.145 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.438, allocations: 4 kB / 1.351 GB, free: 6.141 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.115e-05/0.4381, allocations: 4 kB / 1.351 GB, free: 6.137 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.4381, allocations: 0 / 1.351 GB, free: 6.137 MB / 1.045 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.205e-05/0.4382, allocations: 113.8 kB / 1.351 GB, free: 6.016 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.517e-05/0.4382, allocations: 3.984 kB / 1.351 GB, free: 6.012 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002553/0.4385, allocations: 84.72 kB / 1.352 GB, free: 5.918 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.4385, allocations: 0 / 1.352 GB, free: 5.918 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.4385, allocations: 0 / 1.352 GB, free: 5.918 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.4385, allocations: 0 / 1.352 GB, free: 5.918 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001793/0.4387, allocations: 165.6 kB / 1.352 GB, free: 5.707 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.4387, allocations: 0 / 1.352 GB, free: 5.707 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.901e-05/0.4387, allocations: 11.98 kB / 1.352 GB, free: 5.695 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.4387, allocations: 0 / 1.352 GB, free: 5.695 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.4387, allocations: 0 / 1.352 GB, free: 5.695 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4387, allocations: 0 / 1.352 GB, free: 5.695 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.4387, allocations: 0 / 1.352 GB, free: 5.695 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002673/0.439, allocations: 179.6 kB / 1.352 GB, free: 5.504 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.141e-05/0.4391, allocations: 77.11 kB / 1.352 GB, free: 5.41 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.4391, allocations: 4 kB / 1.352 GB, free: 5.406 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.255e-05/0.4392, allocations: 8.031 kB / 1.352 GB, free: 5.398 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.163e-05/0.4392, allocations: 3.984 kB / 1.352 GB, free: 5.395 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.4392, allocations: 8 kB / 1.352 GB, free: 5.387 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.124e-05/0.4393, allocations: 83.27 kB / 1.352 GB, free: 5.305 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4393, allocations: 3.938 kB / 1.352 GB, free: 5.301 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002355/0.4395, allocations: 8 kB / 1.352 GB, free: 5.293 MB / 1.045 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.0006518/0.4402, allocations: 0.7006 MB / 1.353 GB, free: 4.562 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002398/0.4404, allocations: 43.95 kB / 1.353 GB, free: 4.52 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4404, allocations: 0 / 1.353 GB, free: 4.52 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 9.367e-05/0.4405, allocations: 15.98 kB / 1.353 GB, free: 4.504 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.4408, allocations: 11.98 kB / 1.353 GB, free: 4.492 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000546/0.4413, allocations: 152.2 kB / 1.353 GB, free: 4.305 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003399/0.4417, allocations: 0.6768 MB / 1.354 GB, free: 3.602 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.877e-05/0.4417, allocations: 4 kB / 1.354 GB, free: 3.598 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.669e-05/0.4417, allocations: 11.44 kB / 1.354 GB, free: 3.586 MB / 1.045 GB Notification: Performance of SimCode: time 3e-07/0.4417, allocations: 0 / 1.354 GB, free: 3.586 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02732/0.4691, allocations: 1.387 MB / 1.355 GB, free: 2.336 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.058/8.527, allocations: 9.625 kB / 1.355 GB, free: 2.332 MB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_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_SaturationPressureLiquid.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 15.785650143865496]