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.0007834/0.0007834, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007763/0.0007763, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.874/0.874, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 1.687/1.687, allocations: 389 MB / 0.633 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0 / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.085e-05/2.282e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01155/0.01157, allocations: 11.95 MB / 1.011 GB, free: 1.453 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001673/0.01325, allocations: 2.414 MB / 1.014 GB, free: 15.03 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.572e-05/0.01334, allocations: 0 / 1.014 GB, free: 15.03 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0005109/0.01385, allocations: 47.67 kB / 1.014 GB, free: 14.98 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0003923/0.01425, allocations: 95.31 kB / 1.014 GB, free: 14.89 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001295/0.01554, allocations: 0.5418 MB / 1.014 GB, free: 14.35 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0002473/0.01579, allocations: 243.8 kB / 1.015 GB, free: 14.11 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 4.562e-05/0.01583, allocations: 5.812 kB / 1.015 GB, free: 14.11 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005434/0.02127, allocations: 3.638 MB / 1.018 GB, free: 10.45 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000164/0.02143, allocations: 79.77 kB / 1.018 GB, free: 10.37 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 2.292e-05/0.02146, allocations: 8 kB / 1.018 GB, free: 10.36 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001787/0.02324, allocations: 1.049 MB / 1.019 GB, free: 9.316 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 7.66e-05/0.02332, allocations: 43.81 kB / 1.019 GB, free: 9.273 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 8.135e-05/0.0234, allocations: 63.89 kB / 1.019 GB, free: 9.211 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0007567/0.02416, allocations: 390.8 kB / 1.02 GB, free: 8.828 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.02416, allocations: 0 / 1.02 GB, free: 8.828 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.793e-06/0.02416, allocations: 0 / 1.02 GB, free: 8.828 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.02417, allocations: 0 / 1.02 GB, free: 8.828 MB / 0.9792 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.0006048/0.02477, allocations: 441.4 kB / 1.02 GB, free: 8.367 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.02482, allocations: 12.75 kB / 1.02 GB, free: 8.355 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.047e-05/0.02486, allocations: 50.73 kB / 1.02 GB, free: 8.297 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001074/0.02496, allocations: 20.84 kB / 1.02 GB, free: 8.277 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.02521, allocations: 161.5 kB / 1.02 GB, free: 8.094 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.02522, allocations: 24.69 kB / 1.02 GB, free: 8.07 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/0.02524, allocations: 12.38 kB / 1.02 GB, free: 8.059 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003359/0.02558, allocations: 495.8 kB / 1.021 GB, free: 7.5 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.02558, allocations: 192 / 1.021 GB, free: 7.5 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.034e-05/0.0256, allocations: 11.94 kB / 1.021 GB, free: 7.488 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.483e-05/0.02563, allocations: 4 kB / 1.021 GB, free: 7.484 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003061/0.02594, allocations: 424.1 kB / 1.021 GB, free: 7.07 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008148/0.02675, allocations: 0.8201 MB / 1.022 GB, free: 6.191 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002451/0.027, allocations: 160 kB / 1.022 GB, free: 6.027 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.704e-05/0.02706, allocations: 52.84 kB / 1.022 GB, free: 5.973 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005278/0.02759, allocations: 459.9 kB / 1.023 GB, free: 5.504 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002814/0.02787, allocations: 30.56 kB / 1.023 GB, free: 5.465 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=15): time 1.492e-06/0.02787, allocations: 0 / 1.023 GB, free: 5.465 MB / 0.9792 GB Notification: Performance of matching and sorting (n=15): time 0.0002916/0.02816, allocations: 156 kB / 1.023 GB, free: 5.309 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.656e-05/0.02819, allocations: 51.41 kB / 1.023 GB, free: 5.246 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.0283, allocations: 179.1 kB / 1.023 GB, free: 5.059 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.02831, allocations: 33.7 kB / 1.023 GB, free: 5.02 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 6.16e-05/0.02838, allocations: 152.1 kB / 1.023 GB, free: 4.867 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 2.444e-05/0.0284, allocations: 51.53 kB / 1.023 GB, free: 4.816 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.966e-05/0.02845, allocations: 53.66 kB / 1.023 GB, free: 4.758 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 7.489e-05/0.02852, allocations: 322.8 kB / 1.024 GB, free: 4.434 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.272e-05/0.02857, allocations: 31.98 kB / 1.024 GB, free: 4.402 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.712e-05/0.02865, allocations: 149.6 kB / 1.024 GB, free: 4.207 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.0288, allocations: 192.2 kB / 1.024 GB, free: 3.973 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.0288, allocations: 8 kB / 1.024 GB, free: 3.965 MB / 0.9792 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002011/0.02901, allocations: 205.2 kB / 1.024 GB, free: 3.758 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.02902, allocations: 11.98 kB / 1.024 GB, free: 3.746 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.02903, allocations: 4.469 kB / 1.024 GB, free: 3.742 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.02904, allocations: 7.938 kB / 1.024 GB, free: 3.734 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.02915, allocations: 55.92 kB / 1.024 GB, free: 3.68 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.02916, allocations: 11.98 kB / 1.024 GB, free: 3.668 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.079e-05/0.02923, allocations: 39.61 kB / 1.024 GB, free: 3.629 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.02924, allocations: 16 kB / 1.024 GB, free: 3.613 MB / 0.9792 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 7.123e-05/0.02931, allocations: 125.8 kB / 1.025 GB, free: 3.48 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.812e-05/0.02934, allocations: 15.91 kB / 1.025 GB, free: 3.465 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000209/0.02955, allocations: 162.8 kB / 1.025 GB, free: 3.293 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.176e-06/0.02956, allocations: 0 / 1.025 GB, free: 3.293 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.02956, allocations: 0 / 1.025 GB, free: 3.293 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.02957, allocations: 11.92 kB / 1.025 GB, free: 3.281 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.02972, allocations: 184.5 kB / 1.025 GB, free: 3.059 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.02972, allocations: 0 / 1.025 GB, free: 3.059 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.94e-05/0.02978, allocations: 27.98 kB / 1.025 GB, free: 3.031 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.02978, allocations: 7.984 kB / 1.025 GB, free: 3.023 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.02979, allocations: 0 / 1.025 GB, free: 3.023 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.02979, allocations: 4 kB / 1.025 GB, free: 3.02 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.02979, allocations: 0 / 1.025 GB, free: 3.02 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001556/0.02995, allocations: 221.2 kB / 1.025 GB, free: 2.789 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 4.507e-05/0.02999, allocations: 35.8 kB / 1.025 GB, free: 2.754 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.03001, allocations: 8 kB / 1.025 GB, free: 2.746 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.901e-05/0.03011, allocations: 15.98 kB / 1.025 GB, free: 2.73 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.896e-05/0.03013, allocations: 11.98 kB / 1.025 GB, free: 2.719 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.03014, allocations: 15.91 kB / 1.025 GB, free: 2.703 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 5.316e-05/0.0302, allocations: 120.9 kB / 1.025 GB, free: 2.586 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.0302, allocations: 0 / 1.025 GB, free: 2.586 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.00026/0.03046, allocations: 79.88 kB / 1.025 GB, free: 2.508 MB / 0.9792 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.0005108/0.03097, allocations: 0.8332 MB / 1.026 GB, free: 1.648 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0001706/0.03114, allocations: 118.3 kB / 1.026 GB, free: 1.535 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.03114, allocations: 4 kB / 1.026 GB, free: 1.531 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 3.783e-05/0.03118, allocations: 39.98 kB / 1.026 GB, free: 1.492 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/0.03146, allocations: 51.89 kB / 1.027 GB, free: 1.441 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.03293, allocations: 2.013 MB / 1.028 GB, free: 15.26 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001013/0.03304, allocations: 106.9 kB / 1.029 GB, free: 15.14 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001192/0.03315, allocations: 57.66 kB / 1.029 GB, free: 15.08 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.103e-05/0.03322, allocations: 48.48 kB / 1.029 GB, free: 15.03 MB / 0.9948 GB Notification: Performance of SimCode: time 4.71e-07/0.03322, allocations: 0 / 1.029 GB, free: 15.03 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01964/0.05285, allocations: 6.475 MB / 1.035 GB, free: 8.758 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.484/6.537, allocations: 7.984 kB / 1.035 GB, free: 8.75 MB / 0.9948 GB " [Timeout remaining time 293] (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/jenkins/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: 10.409221345558763]