Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00145/0.00145, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001515/0.001515, allocations: 221.7 kB / 22.25 MB, free: 5.254 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.509/1.509, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.265/3.265, allocations: 0.49 GB / 0.7951 GB, free: 35.43 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_12_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.00203/0.00203, allocations: 70.72 kB / 1.154 GB, free: 25.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3751/0.3771, allocations: 176.1 MB / 1.326 GB, free: 1.562 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002906/0.38, allocations: 1.442 MB / 1.327 GB, free: 120 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0005369/0.3805, allocations: 203.8 kB / 1.327 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.84e-05/0.3806, allocations: 0 / 1.327 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.078e-05/0.3806, allocations: 7.938 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.334e-05/0.3807, allocations: 7.922 kB / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002117/0.3809, allocations: 31.91 kB / 1.327 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.01e-05/0.3809, allocations: 19.92 kB / 1.327 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.476e-05/0.381, allocations: 11.94 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.822e-05/0.3811, allocations: 7.984 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 3.917e-05/0.3811, allocations: 15.92 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.3811, allocations: 0 / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.3812, allocations: 35.97 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.32e-05/0.3812, allocations: 0 / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.328e-05/0.3813, allocations: 15.94 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.3814, allocations: 35.83 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3814, allocations: 4 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3814, allocations: 0 / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.3814, allocations: 0 / 1.328 GB, free: 15.73 MB / 1.029 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.0004273/0.3818, allocations: 270.3 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.3819, allocations: 8.031 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.458e-05/0.3819, allocations: 38.69 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000139/0.382, allocations: 4.938 kB / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.3821, allocations: 118.4 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.3822, allocations: 4.359 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.3822, allocations: 4.375 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.3823, allocations: 46.23 kB / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.3823, allocations: 7.938 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-06/0.3823, allocations: 0 / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.3824, allocations: 0 / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/0.3825, allocations: 27.97 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000343/0.3829, allocations: 224 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.383, allocations: 38.5 kB / 1.328 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.552e-05/0.3831, allocations: 28.89 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.3831, allocations: 0 / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.3831, allocations: 34.56 kB / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.3831, allocations: 0 / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003639/0.3835, allocations: 85.58 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.3835, allocations: 51.41 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.249e-05/0.3836, allocations: 97.86 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.3836, allocations: 29.64 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.529e-05/0.3837, allocations: 84.14 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.845e-05/0.3837, allocations: 11.94 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.007e-05/0.3837, allocations: 9.719 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.3839, allocations: 314.8 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.348e-05/0.3839, allocations: 15.98 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.018e-05/0.384, allocations: 20.09 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.3842, allocations: 40.83 kB / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.3842, allocations: 3.938 kB / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001987/0.3844, allocations: 77.48 kB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.3844, allocations: 4 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.3844, allocations: 4.094 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.3844, allocations: 0 / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.203e-05/0.3845, allocations: 11.98 kB / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.3845, allocations: 0 / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.764e-05/0.3845, allocations: 4 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.3845, allocations: 192 / 1.329 GB, free: 13.84 MB / 1.029 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.253e-05/0.3846, allocations: 114.3 kB / 1.329 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.499e-05/0.3846, allocations: 3.984 kB / 1.329 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002473/0.3849, allocations: 84.89 kB / 1.329 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3849, allocations: 0 / 1.329 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.3849, allocations: 0 / 1.329 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.3849, allocations: 0 / 1.329 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001578/0.385, allocations: 136.7 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.385, allocations: 0 / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.126e-05/0.3851, allocations: 15.98 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3851, allocations: 0 / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.3851, allocations: 0 / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3851, allocations: 4 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3851, allocations: 0 / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002468/0.3854, allocations: 167.5 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.376e-05/0.3854, allocations: 11.88 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.3854, allocations: 4 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.516e-05/0.3855, allocations: 3.938 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.022e-05/0.3855, allocations: 7.984 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.3855, allocations: 0 / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.612e-05/0.3856, allocations: 87.22 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3856, allocations: 4 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002163/0.3858, allocations: 4 kB / 1.33 GB, free: 13.13 MB / 1.029 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.000537/0.3863, allocations: 0.6968 MB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002003/0.3865, allocations: 39.91 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3865, allocations: 4 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.217e-05/0.3866, allocations: 28.03 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.3869, allocations: 1.562 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004355/0.3874, allocations: 144.6 kB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.724e-05/0.3874, allocations: 63.33 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.621e-05/0.3874, allocations: 4 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.238e-05/0.3875, allocations: 19.36 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.3875, allocations: 4 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02942/0.4169, allocations: 1.913 MB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.42, allocations: 4.062 kB / 1.333 GB, free: 10.26 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.43540640102583]