Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.WaterProperties.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.001335/0.001335, allocations: 107.8 kB / 16.45 MB, free: 6.445 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.001255/0.001255, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.474/1.474, allocations: 225.6 MB / 247.8 MB, free: 3.719 MB / 190.1 MB " [Timeout remaining time 178] 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.83/2.83, allocations: 476.7 MB / 0.7611 GB, free: 15.65 MB / 0.6075 GB " [Timeout remaining time 176] 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.Media.Examples.WaterProperties,fileNamePrefix="Buildings_11_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_11_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 67.89 kB / 1.104 GB, free: 6.496 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9981/1, allocations: 168.7 MB / 1.269 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.006435/1.007, allocations: 4.751 MB / 1.273 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002596/1.009, allocations: 2.712 MB / 1.276 GB, free: 2.348 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001634/1.009, allocations: 1 kB / 1.276 GB, free: 2.348 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003009/1.01, allocations: 46.27 kB / 1.276 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003339/1.01, allocations: 105 kB / 1.276 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001525/1.011, allocations: 0.5019 MB / 1.277 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003779/1.012, allocations: 233.6 kB / 1.277 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.935e-05/1.012, allocations: 7 kB / 1.277 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002248/1.012, allocations: 116.3 kB / 1.277 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001582/1.012, allocations: 99.05 kB / 1.277 GB, free: 1.805 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.537e-05/1.012, allocations: 8.031 kB / 1.277 GB, free: 1.805 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000928/1.013, allocations: 375.8 kB / 1.277 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.016e-05/1.013, allocations: 34.48 kB / 1.278 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.846e-05/1.013, allocations: 90.28 kB / 1.278 GB, free: 1.59 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007177/1.014, allocations: 363.6 kB / 1.278 GB, free: 1.465 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/1.014, allocations: 0 / 1.278 GB, free: 1.465 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.014e-06/1.014, allocations: 1.031 kB / 1.278 GB, free: 1.465 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.238e-05/1.014, allocations: 0 / 1.278 GB, free: 1.465 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006531/1.015, allocations: 0.5085 MB / 1.278 GB, free: 1.004 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/1.015, allocations: 9.156 kB / 1.278 GB, free: 1.004 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.234e-05/1.015, allocations: 49.06 kB / 1.279 GB, free: 0.957 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001656/1.015, allocations: 21.44 kB / 1.279 GB, free: 0.9492 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002657/1.015, allocations: 226.5 kB / 1.279 GB, free: 0.7188 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/1.015, allocations: 10.92 kB / 1.279 GB, free: 0.7148 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.655e-05/1.015, allocations: 15.28 kB / 1.279 GB, free: 0.7109 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003569/1.016, allocations: 251.8 kB / 1.279 GB, free: 0.5664 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/1.016, allocations: 0.9375 kB / 1.279 GB, free: 0.5664 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/1.016, allocations: 6.75 kB / 1.279 GB, free: 0.5625 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.76e-05/1.016, allocations: 6.766 kB / 1.279 GB, free: 0.5625 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005346/1.016, allocations: 429 kB / 1.279 GB, free: 496 kB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001213/1.018, allocations: 0.951 MB / 1.28 GB, free: 15.64 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003354/1.018, allocations: 145.5 kB / 1.281 GB, free: 15.58 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001213/1.018, allocations: 56.64 kB / 1.281 GB, free: 15.56 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001755/1.02, allocations: 1.82 MB / 1.282 GB, free: 13.53 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/1.02, allocations: 37.53 kB / 1.282 GB, free: 13.48 MB / 1.014 GB Notification: Performance of pre-optimization done (n=15): time 1.984e-06/1.02, allocations: 4.688 kB / 1.282 GB, free: 13.48 MB / 1.014 GB Notification: Performance of matching and sorting (n=15): time 0.0003825/1.02, allocations: 152.7 kB / 1.283 GB, free: 13.41 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/1.02, allocations: 53.34 kB / 1.283 GB, free: 13.34 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/1.02, allocations: 176.5 kB / 1.283 GB, free: 13.21 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.837e-05/1.02, allocations: 31.45 kB / 1.283 GB, free: 13.18 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/1.021, allocations: 143.2 kB / 1.283 GB, free: 13.05 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.169e-05/1.021, allocations: 58.25 kB / 1.283 GB, free: 13 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/1.021, allocations: 53.5 kB / 1.283 GB, free: 12.96 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001768/1.021, allocations: 327.1 kB / 1.283 GB, free: 12.64 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.052e-05/1.021, allocations: 40.97 kB / 1.283 GB, free: 12.63 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001633/1.021, allocations: 138.3 kB / 1.283 GB, free: 12.49 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002597/1.021, allocations: 205.4 kB / 1.284 GB, free: 12.3 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/1.021, allocations: 0 / 1.284 GB, free: 12.3 MB / 1.014 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003391/1.022, allocations: 211.4 kB / 1.284 GB, free: 12.21 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/1.022, allocations: 8.156 kB / 1.284 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/1.022, allocations: 3.875 kB / 1.284 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.269e-05/1.022, allocations: 14.55 kB / 1.284 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/1.022, allocations: 55.91 kB / 1.284 GB, free: 12.19 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/1.022, allocations: 7.188 kB / 1.284 GB, free: 12.19 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/1.022, allocations: 42.11 kB / 1.284 GB, free: 12.16 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/1.022, allocations: 13.81 kB / 1.284 GB, free: 12.15 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 0.0001258/1.022, allocations: 132.3 kB / 1.284 GB, free: 12.02 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.144e-05/1.022, allocations: 13.58 kB / 1.284 GB, free: 12.02 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00032/1.023, allocations: 148.9 kB / 1.284 GB, free: 11.94 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.39e-05/1.023, allocations: 10.59 kB / 1.284 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/1.023, allocations: 0 / 1.284 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/1.023, allocations: 2.203 kB / 1.284 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002861/1.023, allocations: 216.2 kB / 1.285 GB, free: 11.72 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/1.023, allocations: 4 kB / 1.285 GB, free: 11.71 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.827e-05/1.023, allocations: 24.22 kB / 1.285 GB, free: 11.71 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/1.023, allocations: 0 / 1.285 GB, free: 11.71 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/1.023, allocations: 5.844 kB / 1.285 GB, free: 11.71 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/1.023, allocations: 4.812 kB / 1.285 GB, free: 11.71 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.023, allocations: 2.812 kB / 1.285 GB, free: 11.71 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002632/1.023, allocations: 219.9 kB / 1.285 GB, free: 11.54 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/1.023, allocations: 112.4 kB / 1.285 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/1.023, allocations: 6.406 kB / 1.285 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001999/1.024, allocations: 17.48 kB / 1.285 GB, free: 11.42 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.911e-05/1.024, allocations: 14.3 kB / 1.285 GB, free: 11.41 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.336e-05/1.024, allocations: 13.09 kB / 1.285 GB, free: 11.41 MB / 1.014 GB Notification: Performance of sorting global known variables: time 9.589e-05/1.024, allocations: 118.6 kB / 1.285 GB, free: 11.32 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/1.024, allocations: 0 / 1.285 GB, free: 11.32 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004376/1.024, allocations: 80.88 kB / 1.285 GB, free: 11.3 MB / 1.014 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0008545/1.025, allocations: 0.826 MB / 1.286 GB, free: 10.59 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002625/1.025, allocations: 122.2 kB / 1.286 GB, free: 10.55 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/1.025, allocations: 0 / 1.286 GB, free: 10.55 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 6.657e-05/1.025, allocations: 41.8 kB / 1.286 GB, free: 10.54 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004446/1.026, allocations: 54.03 kB / 1.286 GB, free: 10.52 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002424/1.028, allocations: 2.045 MB / 1.288 GB, free: 8.828 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000392/1.029, allocations: 0.7191 MB / 1.289 GB, free: 8.125 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001641/1.029, allocations: 50.2 kB / 1.289 GB, free: 8.105 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.593e-05/1.029, allocations: 47.45 kB / 1.289 GB, free: 8.074 MB / 1.014 GB Notification: Performance of SimCode: time 2.91e-07/1.029, allocations: 0 / 1.289 GB, free: 8.074 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04215/1.071, allocations: 5.281 MB / 1.294 GB, free: 7.34 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.304/9.375, allocations: 5.859 kB / 1.294 GB, free: 7.34 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_11_Buildings.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Examples.WaterProperties_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Media_Examples_WaterProperties.fmu > Buildings_11_Buildings.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_WaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.WaterProperties.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.484266561921686]