Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001404/0.001404, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001777/0.001777, allocations: 221.5 kB / 22.26 MB, free: 5.125 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.515/1.515, allocations: 230.6 MB / 256 MB, free: 7.965 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.918/2.918, allocations: 476.8 MB / 0.7707 GB, free: 4.254 MB / 0.6231 GB " [Timeout remaining time 176] 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.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_11_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_11_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",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.002059/0.002059, allocations: 69.62 kB / 1.117 GB, free: 40.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3524, allocations: 170 MB / 1.283 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01878/0.3711, allocations: 13.21 MB / 1.296 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003374/0.3745, allocations: 2.679 MB / 1.299 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/0.3746, allocations: 7.938 kB / 1.299 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003386/0.375, allocations: 51.67 kB / 1.299 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003081/0.3753, allocations: 87.44 kB / 1.299 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001449/0.3767, allocations: 0.5257 MB / 1.3 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002997/0.377, allocations: 235.9 kB / 1.3 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.508e-05/0.3771, allocations: 17.73 kB / 1.3 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009322/0.3864, allocations: 3.592 MB / 1.303 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002287/0.3866, allocations: 95.58 kB / 1.303 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.629e-05/0.3867, allocations: 8 kB / 1.303 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003087/0.3897, allocations: 1.119 MB / 1.305 GB, free: 6 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.463e-05/0.3898, allocations: 39.83 kB / 1.305 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.3899, allocations: 83.66 kB / 1.305 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008221/0.3908, allocations: 378.7 kB / 1.305 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3908, allocations: 0 / 1.305 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3908, allocations: 0 / 1.305 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.3908, allocations: 0 / 1.305 GB, free: 5.508 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.0008334/0.3916, allocations: 453.4 kB / 1.305 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.3917, allocations: 12.03 kB / 1.305 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.38e-05/0.3917, allocations: 50.73 kB / 1.306 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001704/0.3919, allocations: 24.84 kB / 1.306 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003265/0.3922, allocations: 162.2 kB / 1.306 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.3922, allocations: 12.7 kB / 1.306 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/0.3923, allocations: 12.38 kB / 1.306 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004479/0.3927, allocations: 263.9 kB / 1.306 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.3927, allocations: 0 / 1.306 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.586e-05/0.3927, allocations: 8 kB / 1.306 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.157e-05/0.3928, allocations: 4 kB / 1.306 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005694/0.3933, allocations: 447.5 kB / 1.306 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001256/0.3946, allocations: 0.9401 MB / 1.307 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002814/0.3949, allocations: 153.3 kB / 1.307 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.395, allocations: 52.88 kB / 1.308 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007852/0.3958, allocations: 479.8 kB / 1.308 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/0.3958, allocations: 38.56 kB / 1.308 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/0.3958, allocations: 3.938 kB / 1.308 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0003435/0.3962, allocations: 141.5 kB / 1.308 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.151e-05/0.3962, allocations: 63.39 kB / 1.308 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/0.3964, allocations: 171.9 kB / 1.308 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/0.3964, allocations: 33.7 kB / 1.308 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.3965, allocations: 144.1 kB / 1.309 GB, free: 1.648 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.191e-05/0.3966, allocations: 47.59 kB / 1.309 GB, free: 1.602 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.061e-05/0.3966, allocations: 53.66 kB / 1.309 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.3968, allocations: 326.8 kB / 1.309 GB, free: 1.215 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.228e-05/0.3969, allocations: 35.97 kB / 1.309 GB, free: 1.18 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001577/0.397, allocations: 138.9 kB / 1.309 GB, free: 0.9961 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002526/0.3973, allocations: 199.9 kB / 1.309 GB, free: 0.7539 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.3973, allocations: 0 / 1.309 GB, free: 0.7539 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003447/0.3976, allocations: 221.2 kB / 1.31 GB, free: 0.5312 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.3976, allocations: 10.34 kB / 1.31 GB, free: 0.5234 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.3976, allocations: 0 / 1.31 GB, free: 0.5234 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/0.3977, allocations: 15.92 kB / 1.31 GB, free: 0.5078 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001777/0.3978, allocations: 52.39 kB / 1.31 GB, free: 468 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.3978, allocations: 11.98 kB / 1.31 GB, free: 456 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.398, allocations: 31.72 kB / 1.31 GB, free: 424 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.017e-05/0.398, allocations: 12 kB / 1.31 GB, free: 412 kB / 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.0001221/0.3981, allocations: 137.7 kB / 1.31 GB, free: 264 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.003e-05/0.3981, allocations: 15.91 kB / 1.31 GB, free: 248 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003475/0.3985, allocations: 165.7 kB / 1.31 GB, free: 76 kB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.3985, allocations: 3.938 kB / 1.31 GB, free: 72 kB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.3985, allocations: 7.984 kB / 1.31 GB, free: 64 kB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.3985, allocations: 4 kB / 1.31 GB, free: 60 kB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002665/0.3988, allocations: 184.7 kB / 1.31 GB, free: 15.84 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.3988, allocations: 0 / 1.31 GB, free: 15.84 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.851e-05/0.3989, allocations: 23.98 kB / 1.31 GB, free: 15.81 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3989, allocations: 0 / 1.31 GB, free: 15.81 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.3989, allocations: 7.984 kB / 1.31 GB, free: 15.8 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.682e-06/0.3989, allocations: 7.938 kB / 1.31 GB, free: 15.8 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3989, allocations: 0 / 1.31 GB, free: 15.8 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002775/0.3992, allocations: 223.3 kB / 1.31 GB, free: 15.56 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.224e-05/0.3993, allocations: 35.81 kB / 1.31 GB, free: 15.53 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.218e-05/0.3993, allocations: 11.98 kB / 1.31 GB, free: 15.52 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001898/0.3995, allocations: 11.94 kB / 1.31 GB, free: 15.5 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.903e-05/0.3995, allocations: 15.97 kB / 1.31 GB, free: 15.49 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.3995, allocations: 4 kB / 1.31 GB, free: 15.48 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001055/0.3996, allocations: 120 kB / 1.311 GB, free: 15.37 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.3996, allocations: 0 / 1.311 GB, free: 15.37 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000401/0.4, allocations: 79.86 kB / 1.311 GB, free: 15.29 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.0008508/0.4009, allocations: 0.841 MB / 1.311 GB, free: 14.42 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002446/0.4011, allocations: 114.7 kB / 1.312 GB, free: 14.31 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.4011, allocations: 4 kB / 1.312 GB, free: 14.3 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 6.821e-05/0.4012, allocations: 39.92 kB / 1.312 GB, free: 14.27 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004478/0.4016, allocations: 62.3 kB / 1.312 GB, free: 14.21 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002564/0.4042, allocations: 2.038 MB / 1.314 GB, free: 12 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.4046, allocations: 0.7167 MB / 1.314 GB, free: 11.26 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001551/0.4047, allocations: 49.69 kB / 1.314 GB, free: 11.21 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.581e-05/0.4048, allocations: 43.42 kB / 1.314 GB, free: 11.17 MB / 1.014 GB Notification: Performance of SimCode: time 3.4e-07/0.4048, allocations: 0 / 1.314 GB, free: 11.17 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03438/0.4392, allocations: 5.791 MB / 1.32 GB, free: 5.547 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.69, allocations: 11.14 kB / 1.32 GB, free: 5.547 MB / 1.014 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 18.60443215095438]