Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_9_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.00114/0.001141, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009039/0.009039, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.248/1.248, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.132/2.132, allocations: 390.9 MB / 0.6664 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002928/0.0002928, allocations: 8 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5824/0.5827, allocations: 142.4 MB / 0.9552 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01204/0.5948, allocations: 13.36 MB / 0.9682 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00248/0.5973, allocations: 2.661 MB / 0.9708 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.745e-05/0.5974, allocations: 0.8125 kB / 0.9708 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002129/0.5976, allocations: 34.09 kB / 0.9708 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002036/0.5978, allocations: 99.59 kB / 0.9709 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009226/0.5988, allocations: 456.9 kB / 0.9714 GB, free: 10.58 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000265/0.599, allocations: 314.1 kB / 0.9717 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.363e-05/0.5991, allocations: 12.81 kB / 0.9717 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00632/0.6054, allocations: 3.149 MB / 0.9748 GB, free: 8.281 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.6056, allocations: 94.69 kB / 0.9748 GB, free: 8.227 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.979e-05/0.6056, allocations: 6.594 kB / 0.9749 GB, free: 8.227 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002008/0.6076, allocations: 0.9798 MB / 0.9758 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.463e-05/0.6077, allocations: 41.84 kB / 0.9759 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.003e-05/0.6078, allocations: 102.1 kB / 0.9759 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004884/0.6083, allocations: 371 kB / 0.9763 GB, free: 7.371 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.6083, allocations: 3.938 kB / 0.9763 GB, free: 7.367 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6083, allocations: 1.125 kB / 0.9763 GB, free: 7.367 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.6083, allocations: 0 / 0.9763 GB, free: 7.367 MB / 0.7325 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.0005858/0.6089, allocations: 462.8 kB / 0.9767 GB, free: 6.926 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.6089, allocations: 8.469 kB / 0.9768 GB, free: 6.926 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.088e-05/0.609, allocations: 58.02 kB / 0.9768 GB, free: 6.867 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000133/0.6091, allocations: 21.06 kB / 0.9768 GB, free: 6.859 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/0.6093, allocations: 221 kB / 0.977 GB, free: 6.617 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.6093, allocations: 10.98 kB / 0.9771 GB, free: 6.613 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.6094, allocations: 15.25 kB / 0.9771 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003359/0.6097, allocations: 253 kB / 0.9773 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.6097, allocations: 8.906 kB / 0.9773 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.265e-05/0.6097, allocations: 7.625 kB / 0.9773 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.137e-05/0.6098, allocations: 4.531 kB / 0.9773 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004365/0.6102, allocations: 425.3 kB / 0.9777 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009726/0.6112, allocations: 0.9669 MB / 0.9787 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002397/0.6114, allocations: 157.2 kB / 0.9788 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.298e-05/0.6115, allocations: 65.59 kB / 0.9789 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001108/0.6127, allocations: 1.827 MB / 0.9807 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.6127, allocations: 37.12 kB / 0.9807 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.263e-06/0.6127, allocations: 5.031 kB / 0.9807 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0002776/0.613, allocations: 152.4 kB / 0.9809 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/0.613, allocations: 53.5 kB / 0.9809 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.6132, allocations: 170.6 kB / 0.9811 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.6132, allocations: 31.27 kB / 0.9811 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.782e-05/0.6133, allocations: 139.1 kB / 0.9812 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.344e-05/0.6133, allocations: 50.64 kB / 0.9813 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.288e-05/0.6133, allocations: 28.27 kB / 0.9813 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.337e-05/0.6134, allocations: 322.8 kB / 0.9816 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.199e-05/0.6135, allocations: 37.19 kB / 0.9817 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/0.6136, allocations: 145.5 kB / 0.9818 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001994/0.6138, allocations: 198.3 kB / 0.982 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.6138, allocations: 1.25 kB / 0.982 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002898/0.6141, allocations: 219.4 kB / 0.9822 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.6141, allocations: 6.625 kB / 0.9822 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.6142, allocations: 3.625 kB / 0.9822 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.6142, allocations: 9.031 kB / 0.9822 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.6143, allocations: 52.11 kB / 0.9823 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.6144, allocations: 9.922 kB / 0.9823 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.6145, allocations: 24.91 kB / 0.9823 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.816e-05/0.6145, allocations: 18.88 kB / 0.9823 GB, free: 1.66 MB / 0.7325 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.023e-05/0.6146, allocations: 131 kB / 0.9824 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.108e-05/0.6146, allocations: 16.22 kB / 0.9825 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002648/0.6149, allocations: 161.3 kB / 0.9826 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/0.6149, allocations: 5.438 kB / 0.9826 GB, free: 1.418 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.6149, allocations: 1.594 kB / 0.9826 GB, free: 1.418 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.6149, allocations: 3.984 kB / 0.9826 GB, free: 1.414 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002083/0.6152, allocations: 225.5 kB / 0.9828 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.6152, allocations: 0 / 0.9828 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.792e-05/0.6152, allocations: 19.19 kB / 0.9829 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.6153, allocations: 5.266 kB / 0.9829 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.6153, allocations: 6.125 kB / 0.9829 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.626e-06/0.6153, allocations: 3.938 kB / 0.9829 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.6153, allocations: 5.125 kB / 0.9829 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001953/0.6155, allocations: 218.4 kB / 0.9831 GB, free: 0.9844 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.466e-05/0.6156, allocations: 114 kB / 0.9832 GB, free: 0.8633 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.6156, allocations: 5.312 kB / 0.9832 GB, free: 0.8594 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002048/0.6158, allocations: 23.7 kB / 0.9832 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.011e-05/0.6158, allocations: 9.203 kB / 0.9832 GB, free: 0.8438 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/0.6159, allocations: 10.41 kB / 0.9832 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.742e-05/0.6159, allocations: 129.1 kB / 0.9834 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.6159, allocations: 0 / 0.9834 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003487/0.6163, allocations: 73.38 kB / 0.9834 GB, free: 0.7227 MB / 0.7325 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.0006179/0.6169, allocations: 0.843 MB / 0.9843 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001897/0.6171, allocations: 112.5 kB / 0.9844 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.6171, allocations: 5.344 kB / 0.9844 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 5.854e-05/0.6172, allocations: 47.66 kB / 0.9844 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004182/0.6176, allocations: 59.86 kB / 0.9845 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/0.6194, allocations: 2.116 MB / 0.9865 GB, free: 14 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002087/0.6197, allocations: 0.7126 MB / 0.9872 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001624/0.6198, allocations: 51.67 kB / 0.9873 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.234e-05/0.6199, allocations: 45.17 kB / 0.9873 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of SimCode: time 2.3e-07/0.6199, allocations: 0 / 0.9873 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.228/1.848, allocations: 5.152 MB / 0.9924 GB, free: 8.32 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002139/1.849, allocations: 217 kB / 0.9926 GB, free: 8.062 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.648/3.497, allocations: 0 / 0.9926 GB, free: 8.062 MB / 0.7481 GB (rm -f Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches