Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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.001659/0.001659, allocations: 125 kB / 17.17 MB, free: 5.918 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.002185/0.002185, allocations: 210.3 kB / 20.13 MB, free: 2.98 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.432/1.432, allocations: 230.6 MB / 253.5 MB, free: 15.13 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 2.875/2.875, allocations: 0.5003 GB / 0.8026 GB, free: 6.805 MB / 0.6387 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.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",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.002061/0.002061, allocations: 64.19 kB / 1.165 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8775/0.8795, allocations: 178.9 MB / 1.34 GB, free: 16.29 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01329/0.8928, allocations: 13.15 MB / 1.353 GB, free: 7.203 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002468/0.8953, allocations: 2.67 MB / 1.356 GB, free: 5.309 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.835e-05/0.8954, allocations: 1.125 kB / 1.356 GB, free: 5.309 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002998/0.8957, allocations: 50.2 kB / 1.356 GB, free: 5.281 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002897/0.896, allocations: 102.2 kB / 1.356 GB, free: 5.215 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001251/0.8972, allocations: 0.5134 MB / 1.356 GB, free: 4.945 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002811/0.8975, allocations: 241.3 kB / 1.357 GB, free: 4.84 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.09e-05/0.8976, allocations: 11.95 kB / 1.357 GB, free: 4.836 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009162/0.9067, allocations: 3.599 MB / 1.36 GB, free: 3.383 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00018/0.9069, allocations: 90.34 kB / 1.36 GB, free: 3.348 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.9069, allocations: 8.844 kB / 1.36 GB, free: 3.348 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002702/0.9096, allocations: 1.108 MB / 1.361 GB, free: 2.945 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.436e-05/0.9097, allocations: 42.38 kB / 1.361 GB, free: 2.922 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.467e-05/0.9098, allocations: 82.98 kB / 1.361 GB, free: 2.883 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000727/0.9105, allocations: 371.7 kB / 1.362 GB, free: 2.758 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.9105, allocations: 1.344 kB / 1.362 GB, free: 2.758 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9105, allocations: 0 / 1.362 GB, free: 2.758 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.9105, allocations: 0 / 1.362 GB, free: 2.758 MB / 1.061 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.0007043/0.9112, allocations: 0.5058 MB / 1.362 GB, free: 2.305 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.9113, allocations: 14.62 kB / 1.362 GB, free: 2.301 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.95e-05/0.9113, allocations: 8.359 kB / 1.362 GB, free: 2.297 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.916e-05/0.9113, allocations: 51.77 kB / 1.362 GB, free: 2.246 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001625/0.9115, allocations: 24.2 kB / 1.362 GB, free: 2.238 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002413/0.9117, allocations: 215.9 kB / 1.362 GB, free: 2.02 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.9117, allocations: 10.92 kB / 1.362 GB, free: 2.016 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.093e-05/0.9118, allocations: 18.69 kB / 1.363 GB, free: 2.008 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003496/0.9121, allocations: 257 kB / 1.363 GB, free: 1.859 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.9121, allocations: 0.5156 kB / 1.363 GB, free: 1.859 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.123e-05/0.9122, allocations: 8.281 kB / 1.363 GB, free: 1.855 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.357e-05/0.9122, allocations: 5.469 kB / 1.363 GB, free: 1.855 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004835/0.9127, allocations: 426.2 kB / 1.363 GB, free: 1.781 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009008/0.9136, allocations: 0.9631 MB / 1.364 GB, free: 0.9297 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002447/0.9138, allocations: 153.1 kB / 1.364 GB, free: 0.8711 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.198e-05/0.9139, allocations: 60.39 kB / 1.364 GB, free: 0.8438 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001252/0.9151, allocations: 1.84 MB / 1.366 GB, free: 14.8 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/0.9152, allocations: 44.92 kB / 1.366 GB, free: 14.75 MB / 1.076 GB Notification: Performance of pre-optimization done (n=15): time 1.162e-06/0.9152, allocations: 0 / 1.366 GB, free: 14.75 MB / 1.076 GB Notification: Performance of matching and sorting (n=15): time 0.0003407/0.9155, allocations: 148.2 kB / 1.366 GB, free: 14.68 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.9156, allocations: 58.67 kB / 1.366 GB, free: 14.61 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.9157, allocations: 171.9 kB / 1.367 GB, free: 14.48 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/0.9158, allocations: 35.8 kB / 1.367 GB, free: 14.44 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 9.467e-05/0.9159, allocations: 140.9 kB / 1.367 GB, free: 14.31 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.117e-05/0.9159, allocations: 60.03 kB / 1.367 GB, free: 14.27 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.776e-05/0.916, allocations: 52.59 kB / 1.367 GB, free: 14.23 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.9161, allocations: 326.6 kB / 1.367 GB, free: 13.91 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.582e-05/0.9162, allocations: 35.73 kB / 1.367 GB, free: 13.9 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001594/0.9164, allocations: 138.5 kB / 1.367 GB, free: 13.76 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002495/0.9166, allocations: 196.9 kB / 1.367 GB, free: 13.58 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.9166, allocations: 1.438 kB / 1.367 GB, free: 13.58 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003738/0.917, allocations: 218.5 kB / 1.368 GB, free: 13.48 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.917, allocations: 6.625 kB / 1.368 GB, free: 13.48 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.917, allocations: 4.281 kB / 1.368 GB, free: 13.48 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.917, allocations: 9.828 kB / 1.368 GB, free: 13.47 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/0.9172, allocations: 53.36 kB / 1.368 GB, free: 13.46 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.9172, allocations: 10.81 kB / 1.368 GB, free: 13.46 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.9173, allocations: 28.44 kB / 1.368 GB, free: 13.44 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.9174, allocations: 15.97 kB / 1.368 GB, free: 13.44 MB / 1.076 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.000125/0.9175, allocations: 131.3 kB / 1.368 GB, free: 13.31 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.486e-05/0.9175, allocations: 16.5 kB / 1.368 GB, free: 13.3 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003182/0.9179, allocations: 160.9 kB / 1.368 GB, free: 13.22 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/0.9179, allocations: 2.625 kB / 1.368 GB, free: 13.22 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.9179, allocations: 4.594 kB / 1.368 GB, free: 13.21 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.9179, allocations: 0.7969 kB / 1.368 GB, free: 13.21 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002629/0.9182, allocations: 216.5 kB / 1.368 GB, free: 13 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.9182, allocations: 5.531 kB / 1.368 GB, free: 13 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.838e-05/0.9182, allocations: 25.28 kB / 1.368 GB, free: 12.99 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.9182, allocations: 1.656 kB / 1.368 GB, free: 12.99 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.9183, allocations: 10.3 kB / 1.368 GB, free: 12.98 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.9183, allocations: 0 / 1.368 GB, free: 12.98 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.9183, allocations: 2.281 kB / 1.368 GB, free: 12.98 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/0.9185, allocations: 213.5 kB / 1.369 GB, free: 12.82 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.9186, allocations: 116.8 kB / 1.369 GB, free: 12.71 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.551e-05/0.9187, allocations: 5.625 kB / 1.369 GB, free: 12.71 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002011/0.9189, allocations: 19.11 kB / 1.369 GB, free: 12.7 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.539e-05/0.9189, allocations: 8.703 kB / 1.369 GB, free: 12.7 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.734e-05/0.9189, allocations: 12.77 kB / 1.369 GB, free: 12.7 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001022/0.919, allocations: 119.7 kB / 1.369 GB, free: 12.61 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.919, allocations: 0 / 1.369 GB, free: 12.61 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004022/0.9194, allocations: 77.95 kB / 1.369 GB, free: 12.59 MB / 1.076 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.0008894/0.9203, allocations: 0.8543 MB / 1.37 GB, free: 11.85 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000242/0.9205, allocations: 116.7 kB / 1.37 GB, free: 11.82 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.463e-06/0.9206, allocations: 3.938 kB / 1.37 GB, free: 11.81 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 6.64e-05/0.9206, allocations: 38.95 kB / 1.37 GB, free: 11.8 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004419/0.9211, allocations: 50.44 kB / 1.37 GB, free: 11.79 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00233/0.9234, allocations: 2.043 MB / 1.372 GB, free: 10.09 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003578/0.9238, allocations: 0.7115 MB / 1.373 GB, free: 9.398 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001636/0.9239, allocations: 49.88 kB / 1.373 GB, free: 9.379 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.164e-05/0.924, allocations: 45.55 kB / 1.373 GB, free: 9.352 MB / 1.076 GB Notification: Performance of SimCode: time 2.51e-07/0.924, allocations: 0 / 1.373 GB, free: 9.352 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02401/0.948, allocations: 5.602 MB / 1.378 GB, free: 8.562 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.453/9.401, allocations: 9.812 kB / 1.378 GB, free: 8.559 MB / 1.076 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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.67282554099802]