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.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.001501/0.001501, allocations: 101.9 kB / 19.73 MB, free: 2.109 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.002089/0.002089, allocations: 222.5 kB / 23.03 MB, free: 4.906 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.493/1.493, allocations: 230.6 MB / 256.8 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.864/2.864, allocations: 476.8 MB / 0.7715 GB, free: 3.918 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.Media.Examples.WaterProperties,fileNamePrefix="Buildings_11_Buildings_Media_Examples_WaterProperties",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_11_Buildings_Media_Examples_WaterProperties",fmuType="cs",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.001993/0.001993, allocations: 65.62 kB / 1.118 GB, free: 39.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3378, allocations: 170 MB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.00971/0.3475, allocations: 4.504 MB / 1.289 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004852/0.3524, allocations: 2.457 MB / 1.291 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001752/0.3525, allocations: 7.938 kB / 1.291 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004173/0.353, allocations: 39.7 kB / 1.291 GB, free: 3.605 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005397/0.3535, allocations: 95.41 kB / 1.291 GB, free: 3.512 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002239/0.3557, allocations: 0.5247 MB / 1.292 GB, free: 2.988 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005081/0.3562, allocations: 228 kB / 1.292 GB, free: 2.762 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.442e-05/0.3563, allocations: 9.734 kB / 1.292 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004324/0.3568, allocations: 127.5 kB / 1.292 GB, free: 2.625 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002304/0.357, allocations: 91.66 kB / 1.292 GB, free: 2.535 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.79e-05/0.357, allocations: 8 kB / 1.292 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001124/0.3581, allocations: 319.4 kB / 1.292 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.3583, allocations: 31.91 kB / 1.292 GB, free: 2.184 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002103/0.3585, allocations: 75.7 kB / 1.292 GB, free: 2.109 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001091/0.3596, allocations: 360.2 kB / 1.293 GB, free: 1.758 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3596, allocations: 0 / 1.293 GB, free: 1.758 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3596, allocations: 0 / 1.293 GB, free: 1.758 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.3596, allocations: 4 kB / 1.293 GB, free: 1.754 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001221/0.3608, allocations: 441.4 kB / 1.293 GB, free: 1.289 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.411e-05/0.3609, allocations: 12.03 kB / 1.293 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.667e-05/0.3609, allocations: 4.516 kB / 1.293 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.971e-05/0.361, allocations: 54.73 kB / 1.293 GB, free: 1.211 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002999/0.3613, allocations: 20.84 kB / 1.293 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004022/0.3617, allocations: 158.3 kB / 1.293 GB, free: 1.012 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.3617, allocations: 16.69 kB / 1.293 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.209e-05/0.3617, allocations: 16.12 kB / 1.293 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006298/0.3624, allocations: 491.3 kB / 1.294 GB, free: 436 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.3624, allocations: 0 / 1.294 GB, free: 436 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.725e-05/0.3624, allocations: 8 kB / 1.294 GB, free: 428 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.799e-05/0.3624, allocations: 4 kB / 1.294 GB, free: 424 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005696/0.363, allocations: 447.5 kB / 1.294 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00138/0.3644, allocations: 0.8124 MB / 1.295 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003783/0.3648, allocations: 147.5 kB / 1.295 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001196/0.3649, allocations: 52.89 kB / 1.295 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008609/0.3657, allocations: 459.8 kB / 1.296 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.3658, allocations: 38.5 kB / 1.296 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.733e-06/0.3658, allocations: 8 kB / 1.296 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0004581/0.3662, allocations: 148.1 kB / 1.296 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.3663, allocations: 55.41 kB / 1.296 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002011/0.3665, allocations: 171.2 kB / 1.296 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.318e-05/0.3665, allocations: 33.7 kB / 1.296 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.3666, allocations: 144 kB / 1.296 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.351e-05/0.3667, allocations: 55.52 kB / 1.296 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.226e-05/0.3668, allocations: 53.66 kB / 1.296 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.3669, allocations: 326.8 kB / 1.297 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.552e-05/0.367, allocations: 35.98 kB / 1.297 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001579/0.3671, allocations: 143.4 kB / 1.297 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002738/0.3674, allocations: 201.5 kB / 1.297 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.3674, allocations: 4 kB / 1.297 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003759/0.3678, allocations: 209.6 kB / 1.297 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.3678, allocations: 8 kB / 1.297 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.3678, allocations: 4 kB / 1.297 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.244e-05/0.3678, allocations: 7.938 kB / 1.297 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002036/0.368, allocations: 59.91 kB / 1.297 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.3681, allocations: 8 kB / 1.297 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/0.3682, allocations: 27.78 kB / 1.297 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.982e-05/0.3682, allocations: 19.98 kB / 1.297 GB, free: 12.54 MB / 0.9981 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.0001404/0.3684, allocations: 134.3 kB / 1.298 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.06e-05/0.3684, allocations: 19.97 kB / 1.298 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003664/0.3688, allocations: 166.2 kB / 1.298 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/0.3688, allocations: 0 / 1.298 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.3688, allocations: 0 / 1.298 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.3688, allocations: 3.984 kB / 1.298 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003189/0.3691, allocations: 176.7 kB / 1.298 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.3691, allocations: 4 kB / 1.298 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001206/0.3693, allocations: 27.98 kB / 1.298 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.3693, allocations: 4 kB / 1.298 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.3693, allocations: 7.875 kB / 1.298 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.3693, allocations: 3.984 kB / 1.298 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.3693, allocations: 8 kB / 1.298 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002905/0.3696, allocations: 219.4 kB / 1.298 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.623e-05/0.3697, allocations: 31.81 kB / 1.298 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.211e-05/0.3697, allocations: 7.938 kB / 1.298 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002069/0.3699, allocations: 19.97 kB / 1.298 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.927e-05/0.3699, allocations: 11.97 kB / 1.298 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-05/0.37, allocations: 8 kB / 1.298 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001075/0.3701, allocations: 120 kB / 1.298 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3701, allocations: 0 / 1.298 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004525/0.3705, allocations: 83.8 kB / 1.298 GB, free: 11.43 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 (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.0009136/0.3714, allocations: 0.8331 MB / 1.299 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002773/0.3717, allocations: 119.5 kB / 1.299 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.3717, allocations: 4.062 kB / 1.299 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.776e-05/0.3718, allocations: 43.91 kB / 1.299 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000464/0.3723, allocations: 42.16 kB / 1.299 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002907/0.3752, allocations: 2.05 MB / 1.301 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00018/0.3753, allocations: 107.2 kB / 1.302 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001742/0.3755, allocations: 41.81 kB / 1.302 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.766e-05/0.3756, allocations: 51.36 kB / 1.302 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of SimCode: time 3.61e-07/0.3756, allocations: 0 / 1.302 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03031/0.4059, allocations: 5.802 MB / 1.307 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/12.16, allocations: 8.469 kB / 1.307 GB, free: 2.359 MB / 0.9981 GB " [Timeout remaining time 288] (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/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: 18.966507370001636]