Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00148/0.00148, allocations: 116.1 kB / 17.17 MB, free: 6 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.001618/0.001618, allocations: 209.6 kB / 20.13 MB, free: 3.055 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.431/1.431, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.865/2.865, allocations: 0.49 GB / 0.7923 GB, free: 1.359 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_12_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.002027/0.002027, allocations: 71.89 kB / 1.15 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8255/0.8276, allocations: 176.1 MB / 1.322 GB, free: 24.79 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01425/0.8418, allocations: 13.15 MB / 1.334 GB, free: 15.71 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002419/0.8442, allocations: 2.669 MB / 1.337 GB, free: 13.82 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.8443, allocations: 1.562 kB / 1.337 GB, free: 13.82 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002927/0.8446, allocations: 50.23 kB / 1.337 GB, free: 13.79 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002825/0.8449, allocations: 94.61 kB / 1.337 GB, free: 13.73 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001285/0.8462, allocations: 0.5241 MB / 1.338 GB, free: 13.45 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002901/0.8465, allocations: 229.4 kB / 1.338 GB, free: 13.36 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.238e-05/0.8465, allocations: 10.7 kB / 1.338 GB, free: 13.35 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008911/0.8555, allocations: 3.603 MB / 1.341 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002079/0.8557, allocations: 95.83 kB / 1.341 GB, free: 11.85 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.402e-05/0.8557, allocations: 7.062 kB / 1.341 GB, free: 11.85 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002646/0.8583, allocations: 1.102 MB / 1.343 GB, free: 11.45 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.793e-05/0.8584, allocations: 38.41 kB / 1.343 GB, free: 11.43 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.373e-05/0.8585, allocations: 82.55 kB / 1.343 GB, free: 11.39 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000772/0.8593, allocations: 380.4 kB / 1.343 GB, free: 11.26 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.8593, allocations: 0.7969 kB / 1.343 GB, free: 11.26 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.222e-06/0.8593, allocations: 0 / 1.343 GB, free: 11.26 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.8593, allocations: 0 / 1.343 GB, free: 11.26 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.0006901/0.86, allocations: 0.51 MB / 1.344 GB, free: 10.8 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.86, allocations: 15.06 kB / 1.344 GB, free: 10.8 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.413e-05/0.86, allocations: 8.109 kB / 1.344 GB, free: 10.8 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.771e-05/0.8601, allocations: 53.3 kB / 1.344 GB, free: 10.75 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001668/0.8602, allocations: 27.05 kB / 1.344 GB, free: 10.73 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002544/0.8605, allocations: 219.4 kB / 1.344 GB, free: 10.51 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.8605, allocations: 11.08 kB / 1.344 GB, free: 10.51 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/0.8605, allocations: 22.7 kB / 1.344 GB, free: 10.5 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000351/0.8609, allocations: 249 kB / 1.344 GB, free: 10.36 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.8609, allocations: 1.844 kB / 1.344 GB, free: 10.36 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.259e-05/0.8609, allocations: 7.188 kB / 1.344 GB, free: 10.35 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.459e-05/0.8609, allocations: 5.719 kB / 1.344 GB, free: 10.35 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005154/0.8614, allocations: 433 kB / 1.345 GB, free: 10.27 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009574/0.8624, allocations: 0.9639 MB / 1.345 GB, free: 9.418 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002635/0.8627, allocations: 148.4 kB / 1.346 GB, free: 9.359 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.333e-05/0.8628, allocations: 55.89 kB / 1.346 GB, free: 9.336 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009202/0.8637, allocations: 1.836 MB / 1.347 GB, free: 7.293 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.8637, allocations: 42.62 kB / 1.347 GB, free: 7.246 MB / 1.061 GB Notification: Performance of pre-optimization done (n=15): time 1.383e-06/0.8637, allocations: 4 kB / 1.347 GB, free: 7.242 MB / 1.061 GB Notification: Performance of matching and sorting (n=15): time 0.0003242/0.864, allocations: 145 kB / 1.348 GB, free: 7.172 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.17e-05/0.864, allocations: 54.27 kB / 1.348 GB, free: 7.109 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.8642, allocations: 169.2 kB / 1.348 GB, free: 6.984 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.8642, allocations: 31.58 kB / 1.348 GB, free: 6.949 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.479e-05/0.8642, allocations: 138.9 kB / 1.348 GB, free: 6.824 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.172e-05/0.8643, allocations: 62.14 kB / 1.348 GB, free: 6.773 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.082e-05/0.8643, allocations: 49.69 kB / 1.348 GB, free: 6.742 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.952e-05/0.8644, allocations: 329.9 kB / 1.348 GB, free: 6.418 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.746e-05/0.8644, allocations: 35.89 kB / 1.348 GB, free: 6.41 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/0.8645, allocations: 136.2 kB / 1.349 GB, free: 6.27 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001799/0.8647, allocations: 200.1 kB / 1.349 GB, free: 6.09 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.8647, allocations: 0 / 1.349 GB, free: 6.09 MB / 1.061 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003012/0.865, allocations: 217.6 kB / 1.349 GB, free: 5.988 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.865, allocations: 6.969 kB / 1.349 GB, free: 5.988 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.8651, allocations: 4.25 kB / 1.349 GB, free: 5.988 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.8651, allocations: 13.38 kB / 1.349 GB, free: 5.98 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.8652, allocations: 54.59 kB / 1.349 GB, free: 5.973 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.8653, allocations: 6.266 kB / 1.349 GB, free: 5.973 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.8654, allocations: 28.47 kB / 1.349 GB, free: 5.953 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/0.8654, allocations: 14.98 kB / 1.349 GB, free: 5.949 MB / 1.061 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.502e-05/0.8655, allocations: 131.2 kB / 1.349 GB, free: 5.82 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.251e-05/0.8655, allocations: 21.91 kB / 1.349 GB, free: 5.809 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003015/0.8658, allocations: 160.2 kB / 1.349 GB, free: 5.723 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.8658, allocations: 5.922 kB / 1.349 GB, free: 5.719 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.8658, allocations: 1.25 kB / 1.349 GB, free: 5.719 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.8658, allocations: 0.6094 kB / 1.349 GB, free: 5.719 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001906/0.866, allocations: 221 kB / 1.35 GB, free: 5.5 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.866, allocations: 0.6094 kB / 1.35 GB, free: 5.5 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.541e-05/0.8661, allocations: 23.17 kB / 1.35 GB, free: 5.5 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.8661, allocations: 3.938 kB / 1.35 GB, free: 5.496 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.8661, allocations: 10.69 kB / 1.35 GB, free: 5.488 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.8661, allocations: 0 / 1.35 GB, free: 5.488 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.8661, allocations: 1.125 kB / 1.35 GB, free: 5.488 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002089/0.8663, allocations: 222.8 kB / 1.35 GB, free: 5.32 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.982e-05/0.8664, allocations: 111.6 kB / 1.35 GB, free: 5.211 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/0.8664, allocations: 10.69 kB / 1.35 GB, free: 5.203 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/0.8666, allocations: 11 kB / 1.35 GB, free: 5.203 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.042e-05/0.8667, allocations: 16.2 kB / 1.35 GB, free: 5.195 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.471e-05/0.8667, allocations: 9.156 kB / 1.35 GB, free: 5.195 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.774e-05/0.8668, allocations: 125 kB / 1.35 GB, free: 5.105 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.8668, allocations: 4 kB / 1.35 GB, free: 5.102 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.00042/0.8672, allocations: 77.44 kB / 1.35 GB, free: 5.086 MB / 1.061 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.0006473/0.8678, allocations: 0.8467 MB / 1.351 GB, free: 4.352 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002628/0.8681, allocations: 116.5 kB / 1.351 GB, free: 4.316 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.8681, allocations: 2.094 kB / 1.351 GB, free: 4.316 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 6.941e-05/0.8682, allocations: 45.66 kB / 1.351 GB, free: 4.301 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004317/0.8686, allocations: 49.69 kB / 1.351 GB, free: 4.285 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001904/0.8705, allocations: 2.037 MB / 1.353 GB, free: 2.598 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000147/0.8706, allocations: 0.7113 MB / 1.354 GB, free: 1.902 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001615/0.8708, allocations: 49.31 kB / 1.354 GB, free: 1.879 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.219e-05/0.8709, allocations: 45.52 kB / 1.354 GB, free: 1.852 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/0.8709, allocations: 0 / 1.354 GB, free: 1.852 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02808/0.899, allocations: 5.613 MB / 1.36 GB, free: 1.051 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.157/9.056, allocations: 13.75 kB / 1.36 GB, free: 1.043 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat --tempDir=temp_Buildings_12_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.258328966971021]