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.001853/0.001853, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002708/0.002708, allocations: 219.1 kB / 22.26 MB, free: 5.117 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.504/1.504, allocations: 230.6 MB / 256 MB, free: 8.012 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 3.367/3.367, allocations: 0.505 GB / 0.8101 GB, free: 22.02 MB / 0.6231 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_latest_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.00197/0.00197, allocations: 68.23 kB / 1.177 GB, free: 16.94 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3683/0.3703, allocations: 180.2 MB / 1.353 GB, free: 8.383 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01916/0.3894, allocations: 13.2 MB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003311/0.3927, allocations: 2.683 MB / 1.368 GB, free: 8.434 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001704/0.3929, allocations: 0 / 1.368 GB, free: 8.434 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0003471/0.3933, allocations: 51.67 kB / 1.368 GB, free: 8.383 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003603/0.3936, allocations: 99.36 kB / 1.369 GB, free: 8.285 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001652/0.3953, allocations: 0.5271 MB / 1.369 GB, free: 7.762 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004148/0.3957, allocations: 235.9 kB / 1.369 GB, free: 7.531 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.656e-05/0.3957, allocations: 13.75 kB / 1.369 GB, free: 7.52 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009171/0.4049, allocations: 3.603 MB / 1.373 GB, free: 3.898 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002581/0.4052, allocations: 95.64 kB / 1.373 GB, free: 3.805 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.615e-05/0.4052, allocations: 8 kB / 1.373 GB, free: 3.797 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003068/0.4083, allocations: 1.109 MB / 1.374 GB, free: 2.688 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.129e-05/0.4084, allocations: 51.81 kB / 1.374 GB, free: 2.637 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.4085, allocations: 75.66 kB / 1.374 GB, free: 2.562 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001017/0.4095, allocations: 382.7 kB / 1.375 GB, free: 2.188 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.4095, allocations: 0 / 1.375 GB, free: 2.188 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.162e-06/0.4095, allocations: 0 / 1.375 GB, free: 2.188 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.4095, allocations: 0 / 1.375 GB, free: 2.188 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.0008662/0.4104, allocations: 445.4 kB / 1.375 GB, free: 1.723 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.4104, allocations: 8.031 kB / 1.375 GB, free: 1.715 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.651e-05/0.4105, allocations: 50.73 kB / 1.375 GB, free: 1.656 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002048/0.4107, allocations: 32.72 kB / 1.375 GB, free: 1.625 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000314/0.411, allocations: 162.3 kB / 1.375 GB, free: 1.441 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.411, allocations: 12.7 kB / 1.375 GB, free: 1.43 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.533e-05/0.4111, allocations: 16.38 kB / 1.375 GB, free: 1.414 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004189/0.4115, allocations: 255.9 kB / 1.375 GB, free: 1.145 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.4115, allocations: 0 / 1.375 GB, free: 1.145 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.357e-05/0.4115, allocations: 12 kB / 1.375 GB, free: 1.133 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.56e-05/0.4115, allocations: 4 kB / 1.375 GB, free: 1.129 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005481/0.4121, allocations: 439.5 kB / 1.376 GB, free: 0.6992 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00134/0.4134, allocations: 0.9441 MB / 1.377 GB, free: 15.67 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002888/0.4137, allocations: 147.5 kB / 1.377 GB, free: 15.52 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.4138, allocations: 60.81 kB / 1.377 GB, free: 15.46 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008248/0.4147, allocations: 467.9 kB / 1.377 GB, free: 14.98 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.4147, allocations: 38.55 kB / 1.377 GB, free: 14.93 MB / 1.076 GB Notification: Performance of pre-optimization done (n=15): time 1.273e-06/0.4147, allocations: 0 / 1.377 GB, free: 14.93 MB / 1.076 GB Notification: Performance of matching and sorting (n=15): time 0.0003624/0.4151, allocations: 153.4 kB / 1.378 GB, free: 14.78 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.4151, allocations: 51.41 kB / 1.378 GB, free: 14.71 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001699/0.4153, allocations: 180.3 kB / 1.378 GB, free: 14.53 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.4153, allocations: 25.7 kB / 1.378 GB, free: 14.5 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.4154, allocations: 152 kB / 1.378 GB, free: 14.34 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.423e-05/0.4154, allocations: 55.58 kB / 1.378 GB, free: 14.29 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.085e-05/0.4155, allocations: 53.7 kB / 1.378 GB, free: 14.23 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.4156, allocations: 318.8 kB / 1.378 GB, free: 13.91 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.393e-05/0.4157, allocations: 35.98 kB / 1.378 GB, free: 13.87 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/0.4159, allocations: 145.6 kB / 1.379 GB, free: 13.68 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002564/0.4161, allocations: 199 kB / 1.379 GB, free: 13.44 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.4161, allocations: 0 / 1.379 GB, free: 13.44 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003521/0.4165, allocations: 220 kB / 1.379 GB, free: 13.22 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/0.4165, allocations: 8 kB / 1.379 GB, free: 13.21 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.4165, allocations: 4 kB / 1.379 GB, free: 13.21 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.4165, allocations: 7.938 kB / 1.379 GB, free: 13.2 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001785/0.4167, allocations: 51.92 kB / 1.379 GB, free: 13.15 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/0.4167, allocations: 11.94 kB / 1.379 GB, free: 13.14 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.4169, allocations: 27.77 kB / 1.379 GB, free: 13.11 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.163e-05/0.4169, allocations: 15.98 kB / 1.379 GB, free: 13.09 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.0001249/0.417, allocations: 137.9 kB / 1.379 GB, free: 12.95 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.536e-05/0.4171, allocations: 15.91 kB / 1.379 GB, free: 12.93 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003157/0.4174, allocations: 158.8 kB / 1.379 GB, free: 12.77 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.43e-05/0.4174, allocations: 7.938 kB / 1.379 GB, free: 12.76 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.4174, allocations: 3.938 kB / 1.379 GB, free: 12.76 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.4174, allocations: 3.984 kB / 1.379 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002563/0.4177, allocations: 176.7 kB / 1.38 GB, free: 12.54 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.4177, allocations: 3.938 kB / 1.38 GB, free: 12.54 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.4178, allocations: 27.98 kB / 1.38 GB, free: 12.51 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.4178, allocations: 0 / 1.38 GB, free: 12.51 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.4178, allocations: 12 kB / 1.38 GB, free: 12.5 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.4178, allocations: 3.938 kB / 1.38 GB, free: 12.49 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4178, allocations: 0 / 1.38 GB, free: 12.49 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002642/0.418, allocations: 221.3 kB / 1.38 GB, free: 12.26 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.913e-05/0.4181, allocations: 39.81 kB / 1.38 GB, free: 12.22 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.368e-05/0.4181, allocations: 0 / 1.38 GB, free: 12.22 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002091/0.4184, allocations: 19.92 kB / 1.38 GB, free: 12.2 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.423e-05/0.4184, allocations: 15.97 kB / 1.38 GB, free: 12.19 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.357e-05/0.4184, allocations: 12 kB / 1.38 GB, free: 12.18 MB / 1.076 GB Notification: Performance of sorting global known variables: time 9.684e-05/0.4185, allocations: 120 kB / 1.38 GB, free: 12.06 MB / 1.076 GB Notification: Performance of sort global known variables: time 5.1e-08/0.4185, allocations: 0 / 1.38 GB, free: 12.06 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004057/0.4189, allocations: 75.86 kB / 1.38 GB, free: 11.98 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.000825/0.4197, allocations: 0.837 MB / 1.381 GB, free: 11.12 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002652/0.42, allocations: 118.4 kB / 1.381 GB, free: 11 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.42, allocations: 4 kB / 1.381 GB, free: 11 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 6.866e-05/0.4201, allocations: 35.97 kB / 1.381 GB, free: 10.96 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004573/0.4205, allocations: 67.7 kB / 1.381 GB, free: 10.9 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002652/0.4232, allocations: 2.045 MB / 1.383 GB, free: 8.68 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000359/0.4235, allocations: 0.7206 MB / 1.384 GB, free: 7.934 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001716/0.4237, allocations: 49.69 kB / 1.384 GB, free: 7.887 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.415e-05/0.4238, allocations: 43.42 kB / 1.384 GB, free: 7.848 MB / 1.076 GB Notification: Performance of SimCode: time 5.01e-07/0.4238, allocations: 0 / 1.384 GB, free: 7.848 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03677/0.4606, allocations: 5.784 MB / 1.39 GB, free: 2.23 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.78, allocations: 12.22 kB / 1.39 GB, free: 2.223 MB / 1.076 GB " [Timeout remaining time 288] (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: 18.7406987559516]