Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_10_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_10_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004776/0.00478, allocations: 100.8 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 192 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.247/1.247, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.305/2.305, allocations: 437.1 MB / 0.7105 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001651/0.001651, allocations: 59.91 kB / 1.018 GB, free: 9.789 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5851/0.5867, allocations: 151.6 MB / 1.166 GB, free: 3.727 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01435/0.6011, allocations: 12.97 MB / 1.179 GB, free: 6.695 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.002606/0.6037, allocations: 2.663 MB / 1.182 GB, free: 4.023 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.157e-05/0.6038, allocations: 0 / 1.182 GB, free: 4.023 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0002211/0.6041, allocations: 55.66 kB / 1.182 GB, free: 3.969 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0002277/0.6043, allocations: 95.31 kB / 1.182 GB, free: 3.875 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.6054, allocations: 0.4998 MB / 1.182 GB, free: 3.379 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002396/0.6056, allocations: 232 kB / 1.182 GB, free: 3.148 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 3.513e-05/0.6056, allocations: 13.56 kB / 1.182 GB, free: 3.137 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006845/0.6125, allocations: 3.581 MB / 1.186 GB, free: 15.54 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.6126, allocations: 95.64 kB / 1.186 GB, free: 15.44 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.316e-05/0.6127, allocations: 8 kB / 1.186 GB, free: 15.43 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001908/0.6146, allocations: 1.083 MB / 1.187 GB, free: 14.35 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.098e-05/0.6146, allocations: 35.89 kB / 1.187 GB, free: 14.32 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.507e-05/0.6147, allocations: 79.64 kB / 1.187 GB, free: 14.24 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000517/0.6152, allocations: 378.7 kB / 1.188 GB, free: 13.87 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.6153, allocations: 3.938 kB / 1.188 GB, free: 13.86 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.082e-06/0.6153, allocations: 0 / 1.188 GB, free: 13.86 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.6153, allocations: 0 / 1.188 GB, free: 13.86 MB / 0.92 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.0006226/0.6159, allocations: 0.5025 MB / 1.188 GB, free: 13.31 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.6159, allocations: 8.922 kB / 1.188 GB, free: 13.3 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.768e-05/0.616, allocations: 58.73 kB / 1.188 GB, free: 13.24 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001335/0.6161, allocations: 24.83 kB / 1.188 GB, free: 13.21 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002269/0.6164, allocations: 212.2 kB / 1.188 GB, free: 12.97 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.6164, allocations: 12.7 kB / 1.188 GB, free: 12.96 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.022e-05/0.6164, allocations: 12.38 kB / 1.188 GB, free: 12.95 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003314/0.6167, allocations: 252 kB / 1.189 GB, free: 12.68 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.6168, allocations: 4 kB / 1.189 GB, free: 12.68 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.6168, allocations: 8 kB / 1.189 GB, free: 12.67 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.847e-05/0.6168, allocations: 4 kB / 1.189 GB, free: 12.66 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004509/0.6173, allocations: 427.5 kB / 1.189 GB, free: 12.25 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009845/0.6183, allocations: 0.9683 MB / 1.19 GB, free: 11.19 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000251/0.6185, allocations: 159 kB / 1.19 GB, free: 11.02 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.652e-05/0.6186, allocations: 68.86 kB / 1.19 GB, free: 10.95 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001287/0.6199, allocations: 1.829 MB / 1.192 GB, free: 8.766 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.6199, allocations: 38.56 kB / 1.192 GB, free: 8.719 MB / 0.92 GB Notification: Performance of pre-optimization done (n=15): time 1.102e-06/0.62, allocations: 0 / 1.192 GB, free: 8.719 MB / 0.92 GB Notification: Performance of matching and sorting (n=15): time 0.0002868/0.6202, allocations: 155.1 kB / 1.192 GB, free: 8.562 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/0.6203, allocations: 51.41 kB / 1.192 GB, free: 8.5 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.6204, allocations: 167.2 kB / 1.192 GB, free: 8.324 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.6204, allocations: 33.7 kB / 1.192 GB, free: 8.285 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.776e-05/0.6205, allocations: 144.1 kB / 1.192 GB, free: 8.141 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.94e-05/0.6206, allocations: 55.53 kB / 1.193 GB, free: 8.086 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.026e-05/0.6206, allocations: 49.69 kB / 1.193 GB, free: 8.031 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.6208, allocations: 326.8 kB / 1.193 GB, free: 7.703 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.323e-05/0.6208, allocations: 39.97 kB / 1.193 GB, free: 7.664 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/0.621, allocations: 138.2 kB / 1.193 GB, free: 7.48 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000215/0.6212, allocations: 201.4 kB / 1.193 GB, free: 7.234 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.6212, allocations: 0 / 1.193 GB, free: 7.234 MB / 0.92 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002912/0.6215, allocations: 216.5 kB / 1.193 GB, free: 7.02 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.6215, allocations: 8 kB / 1.193 GB, free: 7.012 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.6215, allocations: 4 kB / 1.193 GB, free: 7.008 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.6215, allocations: 7.938 kB / 1.193 GB, free: 7 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.6217, allocations: 51.92 kB / 1.194 GB, free: 6.949 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.6217, allocations: 11.92 kB / 1.194 GB, free: 6.938 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.655e-05/0.6218, allocations: 31.78 kB / 1.194 GB, free: 6.906 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.229e-05/0.6218, allocations: 15.94 kB / 1.194 GB, free: 6.891 MB / 0.92 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 9.361e-05/0.6219, allocations: 138 kB / 1.194 GB, free: 6.746 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.969e-05/0.622, allocations: 23.91 kB / 1.194 GB, free: 6.723 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002629/0.6223, allocations: 158.9 kB / 1.194 GB, free: 6.562 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/0.6223, allocations: 7.938 kB / 1.194 GB, free: 6.555 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.6223, allocations: 0 / 1.194 GB, free: 6.555 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.6223, allocations: 0 / 1.194 GB, free: 6.555 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000219/0.6225, allocations: 213.6 kB / 1.194 GB, free: 6.297 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.6225, allocations: 0 / 1.194 GB, free: 6.297 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.995e-05/0.6226, allocations: 20 kB / 1.194 GB, free: 6.277 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.6226, allocations: 4 kB / 1.194 GB, free: 6.273 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.6226, allocations: 7.984 kB / 1.194 GB, free: 6.266 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.6226, allocations: 7.938 kB / 1.194 GB, free: 6.258 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.6226, allocations: 0 / 1.194 GB, free: 6.258 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002264/0.6229, allocations: 219.3 kB / 1.194 GB, free: 6.027 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 8.336e-05/0.623, allocations: 109 kB / 1.194 GB, free: 5.902 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.354e-05/0.623, allocations: 8 kB / 1.194 GB, free: 5.895 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001777/0.6232, allocations: 19.92 kB / 1.194 GB, free: 5.875 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.295e-05/0.6232, allocations: 11.98 kB / 1.195 GB, free: 5.863 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/0.6232, allocations: 8 kB / 1.195 GB, free: 5.855 MB / 0.92 GB Notification: Performance of sorting global known variables: time 8.369e-05/0.6233, allocations: 120.9 kB / 1.195 GB, free: 5.738 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6233, allocations: 0 / 1.195 GB, free: 5.738 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003275/0.6237, allocations: 83.8 kB / 1.195 GB, free: 5.656 MB / 0.92 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.0006558/0.6243, allocations: 0.8382 MB / 1.196 GB, free: 4.793 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002035/0.6245, allocations: 118.3 kB / 1.196 GB, free: 4.68 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.6245, allocations: 4 kB / 1.196 GB, free: 4.676 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 6.794e-05/0.6246, allocations: 51.84 kB / 1.196 GB, free: 4.625 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003744/0.625, allocations: 60.34 kB / 1.196 GB, free: 4.566 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001928/0.6269, allocations: 2.046 MB / 1.198 GB, free: 2.355 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.6272, allocations: 0.7128 MB / 1.198 GB, free: 1.617 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001373/0.6274, allocations: 53.69 kB / 1.198 GB, free: 1.562 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.337e-05/0.6274, allocations: 43.42 kB / 1.199 GB, free: 1.52 MB / 0.92 GB Notification: Performance of SimCode: time 2.2e-07/0.6274, allocations: 0 / 1.199 GB, free: 1.52 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 9.566/10.19, allocations: 5.481 MB / 1.204 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/21.42, allocations: 12.33 kB / 1.204 GB, free: 12.16 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches