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.004655/0.004655, allocations: 97.3 kB / 15.73 MB, free: 6.039 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.001071/0.001072, allocations: 199.5 kB / 16.68 MB, free: 5.961 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.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.589/2.589, allocations: 437.1 MB / 0.7105 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001214, allocations: 63.91 kB / 1.018 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2462/0.2475, allocations: 151.6 MB / 1.166 GB, free: 7.215 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01638/0.2639, allocations: 12.98 MB / 1.179 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002798/0.2667, allocations: 2.675 MB / 1.182 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.2668, allocations: 0 / 1.182 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002686/0.2671, allocations: 47.69 kB / 1.182 GB, free: 7.438 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002861/0.2674, allocations: 103.3 kB / 1.182 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001219/0.2687, allocations: 0.5051 MB / 1.182 GB, free: 6.836 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000286/0.269, allocations: 235.9 kB / 1.182 GB, free: 6.605 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.053e-05/0.269, allocations: 13.55 kB / 1.182 GB, free: 6.594 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008024/0.2771, allocations: 3.581 MB / 1.186 GB, free: 2.988 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.2772, allocations: 87.66 kB / 1.186 GB, free: 2.902 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.529e-05/0.2772, allocations: 8 kB / 1.186 GB, free: 2.895 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002334/0.2796, allocations: 1.073 MB / 1.187 GB, free: 1.824 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.583e-05/0.2797, allocations: 39.83 kB / 1.187 GB, free: 1.785 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 9.731e-05/0.2798, allocations: 83.64 kB / 1.187 GB, free: 1.703 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007271/0.2805, allocations: 366.8 kB / 1.187 GB, free: 1.344 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.2805, allocations: 4 kB / 1.187 GB, free: 1.34 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.363e-06/0.2805, allocations: 3.938 kB / 1.187 GB, free: 1.336 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.2805, allocations: 0 / 1.187 GB, free: 1.336 MB / 0.9356 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.0007681/0.2813, allocations: 0.4987 MB / 1.188 GB, free: 0.7891 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.2814, allocations: 12.03 kB / 1.188 GB, free: 0.7773 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.002e-05/0.2814, allocations: 58.66 kB / 1.188 GB, free: 0.7109 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000168/0.2816, allocations: 20.84 kB / 1.188 GB, free: 0.6914 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00024/0.2819, allocations: 220.1 kB / 1.188 GB, free: 448 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.2819, allocations: 12.64 kB / 1.188 GB, free: 436 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.2819, allocations: 20.38 kB / 1.188 GB, free: 416 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003606/0.2823, allocations: 240.1 kB / 1.189 GB, free: 156 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.2823, allocations: 3.938 kB / 1.189 GB, free: 152 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.348e-05/0.2823, allocations: 12 kB / 1.189 GB, free: 140 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.325e-05/0.2823, allocations: 4 kB / 1.189 GB, free: 136 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000484/0.2828, allocations: 431.5 kB / 1.189 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.2839, allocations: 0.9605 MB / 1.19 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002885/0.2842, allocations: 163 kB / 1.19 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.2843, allocations: 60.88 kB / 1.19 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001314/0.2857, allocations: 1.844 MB / 1.192 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.2857, allocations: 30.56 kB / 1.192 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=15): time 1.683e-06/0.2857, allocations: 0 / 1.192 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15): time 0.0003378/0.2861, allocations: 152.1 kB / 1.192 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/0.2861, allocations: 55.39 kB / 1.192 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.2862, allocations: 168.7 kB / 1.192 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/0.2863, allocations: 33.7 kB / 1.192 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.934e-05/0.2864, allocations: 156 kB / 1.192 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.833e-05/0.2864, allocations: 51.59 kB / 1.193 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.384e-05/0.2865, allocations: 49.7 kB / 1.193 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.286e-05/0.2866, allocations: 322.8 kB / 1.193 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.784e-05/0.2866, allocations: 35.97 kB / 1.193 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.2868, allocations: 143.2 kB / 1.193 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002188/0.287, allocations: 193.5 kB / 1.193 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.287, allocations: 4 kB / 1.193 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003343/0.2874, allocations: 218.4 kB / 1.193 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.2874, allocations: 8 kB / 1.193 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.2874, allocations: 4 kB / 1.193 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.2874, allocations: 7.938 kB / 1.193 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001702/0.2876, allocations: 51.92 kB / 1.194 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/0.2876, allocations: 7.938 kB / 1.194 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.2877, allocations: 28.3 kB / 1.194 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/0.2877, allocations: 20 kB / 1.194 GB, free: 10.36 MB / 0.9512 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.862e-05/0.2879, allocations: 129.7 kB / 1.194 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.211e-05/0.2879, allocations: 19.84 kB / 1.194 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000302/0.2882, allocations: 162.9 kB / 1.194 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.2882, allocations: 3.938 kB / 1.194 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.2883, allocations: 0 / 1.194 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-06/0.2883, allocations: 3.984 kB / 1.194 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002276/0.2885, allocations: 205.6 kB / 1.194 GB, free: 9.781 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.2885, allocations: 0 / 1.194 GB, free: 9.781 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.416e-05/0.2886, allocations: 35.92 kB / 1.194 GB, free: 9.746 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.2886, allocations: 3.938 kB / 1.194 GB, free: 9.742 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.2886, allocations: 4 kB / 1.194 GB, free: 9.738 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.2886, allocations: 3.938 kB / 1.194 GB, free: 9.734 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2886, allocations: 0 / 1.194 GB, free: 9.734 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002433/0.2889, allocations: 225.9 kB / 1.194 GB, free: 9.5 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.289, allocations: 116.9 kB / 1.194 GB, free: 9.367 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.421e-05/0.289, allocations: 0 / 1.194 GB, free: 9.367 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002103/0.2893, allocations: 23.92 kB / 1.194 GB, free: 9.344 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.114e-05/0.2893, allocations: 4 kB / 1.194 GB, free: 9.34 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.639e-05/0.2893, allocations: 23.91 kB / 1.195 GB, free: 9.316 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.423e-05/0.2894, allocations: 120.9 kB / 1.195 GB, free: 9.199 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2894, allocations: 0 / 1.195 GB, free: 9.199 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003954/0.2898, allocations: 79.86 kB / 1.195 GB, free: 9.121 MB / 0.9512 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.000673/0.2905, allocations: 0.8332 MB / 1.196 GB, free: 8.262 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002296/0.2907, allocations: 118.4 kB / 1.196 GB, free: 8.148 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2907, allocations: 0 / 1.196 GB, free: 8.148 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 7.114e-05/0.2908, allocations: 43.92 kB / 1.196 GB, free: 8.105 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004446/0.2913, allocations: 70.78 kB / 1.196 GB, free: 8.039 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002103/0.2934, allocations: 2.044 MB / 1.198 GB, free: 5.824 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/0.2936, allocations: 0.7129 MB / 1.198 GB, free: 5.086 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001591/0.2938, allocations: 49.73 kB / 1.198 GB, free: 5.035 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.391e-05/0.2939, allocations: 47.42 kB / 1.199 GB, free: 4.988 MB / 0.9512 GB Notification: Performance of SimCode: time 4.91e-07/0.2939, allocations: 0 / 1.199 GB, free: 4.988 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02361/0.3175, allocations: 5.495 MB / 1.204 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.616/7.934, allocations: 6.359 kB / 1.204 GB, free: 15.63 MB / 0.9669 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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