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.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.001413/0.001413, allocations: 112.2 kB / 17.54 MB, free: 4.641 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.001438/0.001438, allocations: 190.6 kB / 20.71 MB, free: 1.484 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.28/1.28, allocations: 225.6 MB / 249.3 MB, free: 3.145 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.455/2.455, allocations: 476.7 MB / 0.7628 GB, free: 15.14 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.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: Performance of FrontEnd - loaded program: time 0.001763/0.001763, allocations: 67.89 kB / 1.107 GB, free: 5.211 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7659/0.7677, allocations: 168.7 MB / 1.271 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002078/0.7698, allocations: 1.426 MB / 1.273 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000374/0.7702, allocations: 214.8 kB / 1.273 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.805e-05/0.7702, allocations: 0.7812 kB / 1.273 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.605e-05/0.7702, allocations: 1.219 kB / 1.273 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.71e-05/0.7703, allocations: 5.219 kB / 1.273 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001823/0.7704, allocations: 23.53 kB / 1.273 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.349e-05/0.7705, allocations: 20.27 kB / 1.273 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.957e-05/0.7706, allocations: 8.609 kB / 1.273 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.9e-05/0.7706, allocations: 9.109 kB / 1.273 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.872e-05/0.7707, allocations: 10.92 kB / 1.273 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.7707, allocations: 5.625 kB / 1.273 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.374e-05/0.7708, allocations: 28.39 kB / 1.273 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.259e-05/0.7708, allocations: 10.03 kB / 1.273 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.276e-05/0.7708, allocations: 8.203 kB / 1.273 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.7709, allocations: 43.64 kB / 1.273 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.7709, allocations: 0 / 1.273 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7709, allocations: 0 / 1.273 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.7709, allocations: 0.7188 kB / 1.273 GB, free: 6.539 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003349/0.7713, allocations: 342.4 kB / 1.273 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.7713, allocations: 13.41 kB / 1.273 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.062e-05/0.7713, allocations: 32.3 kB / 1.273 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.474e-05/0.7714, allocations: 8.359 kB / 1.274 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.418e-05/0.7715, allocations: 163.6 kB / 1.274 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.204e-06/0.7715, allocations: 5.094 kB / 1.274 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.7715, allocations: 6.297 kB / 1.274 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.7717, allocations: 45.34 kB / 1.274 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.7717, allocations: 3.938 kB / 1.274 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.203e-06/0.7717, allocations: 4.781 kB / 1.274 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.7717, allocations: 4.844 kB / 1.274 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001581/0.7718, allocations: 36.53 kB / 1.274 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000229/0.7721, allocations: 243.3 kB / 1.274 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.7722, allocations: 39.84 kB / 1.274 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.092e-05/0.7723, allocations: 24 kB / 1.274 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.7723, allocations: 0 / 1.274 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.043e-05/0.7723, allocations: 32.02 kB / 1.274 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.7723, allocations: 0.9375 kB / 1.274 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003121/0.7726, allocations: 87.2 kB / 1.274 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.653e-05/0.7726, allocations: 56.89 kB / 1.274 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.431e-05/0.7726, allocations: 101.6 kB / 1.274 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.022e-06/0.7727, allocations: 26.61 kB / 1.274 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.789e-05/0.7727, allocations: 81.33 kB / 1.274 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.346e-05/0.7727, allocations: 9.547 kB / 1.274 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.56e-05/0.7727, allocations: 21.22 kB / 1.274 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.105e-05/0.7727, allocations: 312.2 kB / 1.275 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.126e-05/0.7728, allocations: 22.58 kB / 1.275 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.774e-05/0.7729, allocations: 13.64 kB / 1.275 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001395/0.773, allocations: 42.16 kB / 1.275 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.773, allocations: 3.938 kB / 1.275 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001759/0.7732, allocations: 68.58 kB / 1.275 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.7732, allocations: 4.812 kB / 1.275 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.7732, allocations: 0.875 kB / 1.275 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.7732, allocations: 0 / 1.275 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.865e-05/0.7733, allocations: 9.531 kB / 1.275 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.7733, allocations: 0.9062 kB / 1.275 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.819e-05/0.7734, allocations: 10.02 kB / 1.275 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.7734, allocations: 0.8438 kB / 1.275 GB, free: 4.781 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 3.78e-05/0.7734, allocations: 115.6 kB / 1.275 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.339e-05/0.7734, allocations: 6.203 kB / 1.275 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002154/0.7736, allocations: 82.62 kB / 1.275 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.7736, allocations: 4.688 kB / 1.275 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.7737, allocations: 1.547 kB / 1.275 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.7737, allocations: 0.75 kB / 1.275 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001004/0.7738, allocations: 164.4 kB / 1.275 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.7738, allocations: 0.9688 kB / 1.275 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.331e-05/0.7738, allocations: 13.75 kB / 1.275 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.7738, allocations: 0 / 1.275 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.7738, allocations: 1.875 kB / 1.275 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.7738, allocations: 0 / 1.275 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.7738, allocations: 4.844 kB / 1.275 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000194/0.774, allocations: 172 kB / 1.275 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.59e-05/0.774, allocations: 86.23 kB / 1.276 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.054e-05/0.7741, allocations: 0 / 1.276 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.441e-05/0.7741, allocations: 6.359 kB / 1.276 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.137e-05/0.7742, allocations: 4.906 kB / 1.276 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.7742, allocations: 0.875 kB / 1.276 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.829e-05/0.7742, allocations: 78.25 kB / 1.276 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.7742, allocations: 0 / 1.276 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002006/0.7744, allocations: 8.469 kB / 1.276 GB, free: 4.07 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.0003244/0.7747, allocations: 0.7049 MB / 1.276 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001905/0.7749, allocations: 40.2 kB / 1.276 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.7749, allocations: 0.9688 kB / 1.276 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.016e-05/0.775, allocations: 25.58 kB / 1.276 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/0.7752, allocations: 5.875 kB / 1.276 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00033/0.7755, allocations: 148.6 kB / 1.277 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.95e-05/0.7756, allocations: 0.6833 MB / 1.277 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.277e-05/0.7756, allocations: 5.812 kB / 1.277 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.1e-05/0.7757, allocations: 9.156 kB / 1.277 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of SimCode: time 3.1e-07/0.7757, allocations: 0 / 1.277 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02268/0.7983, allocations: 1.348 MB / 1.279 GB, free: 18.14 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.899/7.697, allocations: 4.953 kB / 1.279 GB, free: 18.14 MB / 1.014 GB " [Timeout remaining time 292] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 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.mat","/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: 12.864961287999904]