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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.334/1.334, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.702/2.702, allocations: 469.4 MB / 0.742 GB, free: 7.777 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 61.53 kB / 0.9082 GB, free: 34.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2581, allocations: 159.1 MB / 1.064 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01496/0.2731, allocations: 12.97 MB / 1.076 GB, free: 1.551 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002659/0.2758, allocations: 2.667 MB / 1.079 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001117/0.2759, allocations: 0 / 1.079 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.00026/0.2762, allocations: 43.69 kB / 1.079 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002876/0.2765, allocations: 99.34 kB / 1.079 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001273/0.2778, allocations: 0.5067 MB / 1.08 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002665/0.2781, allocations: 228 kB / 1.08 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.12e-05/0.2781, allocations: 13.55 kB / 1.08 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00796/0.2861, allocations: 3.578 MB / 1.083 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001601/0.2863, allocations: 91.59 kB / 1.083 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.696e-05/0.2863, allocations: 8 kB / 1.083 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002346/0.2887, allocations: 1.072 MB / 1.084 GB, free: 9.23 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 6.268e-05/0.2887, allocations: 35.89 kB / 1.084 GB, free: 9.195 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 9.523e-05/0.2888, allocations: 79.66 kB / 1.085 GB, free: 9.117 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0006975/0.2896, allocations: 371 kB / 1.085 GB, free: 8.754 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.2896, allocations: 0 / 1.085 GB, free: 8.754 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2896, allocations: 0 / 1.085 GB, free: 8.754 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.2896, allocations: 3.938 kB / 1.085 GB, free: 8.75 MB / 0.8419 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.0006954/0.2903, allocations: 0.5031 MB / 1.085 GB, free: 8.199 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.2903, allocations: 8.031 kB / 1.085 GB, free: 8.191 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.057e-05/0.2904, allocations: 54.72 kB / 1.085 GB, free: 8.129 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001682/0.2906, allocations: 20.75 kB / 1.085 GB, free: 8.109 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/0.2908, allocations: 224 kB / 1.086 GB, free: 7.852 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.2908, allocations: 16.7 kB / 1.086 GB, free: 7.836 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.2908, allocations: 16.38 kB / 1.086 GB, free: 7.82 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003487/0.2912, allocations: 247.9 kB / 1.086 GB, free: 7.559 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.2912, allocations: 3.938 kB / 1.086 GB, free: 7.555 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.52e-05/0.2912, allocations: 12 kB / 1.086 GB, free: 7.543 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.397e-05/0.2913, allocations: 4 kB / 1.086 GB, free: 7.539 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004622/0.2917, allocations: 431.5 kB / 1.086 GB, free: 7.117 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001044/0.2928, allocations: 0.9605 MB / 1.087 GB, free: 6.066 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000266/0.2931, allocations: 163.2 kB / 1.087 GB, free: 5.902 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.2932, allocations: 60.89 kB / 1.088 GB, free: 5.84 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001221/0.2944, allocations: 1.833 MB / 1.089 GB, free: 3.648 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.2944, allocations: 30.56 kB / 1.089 GB, free: 3.609 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=15): time 1.783e-06/0.2944, allocations: 0 / 1.089 GB, free: 3.609 MB / 0.8419 GB Notification: Performance of matching and sorting (n=15): time 0.0003318/0.2948, allocations: 153.3 kB / 1.089 GB, free: 3.453 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.2948, allocations: 59.34 kB / 1.09 GB, free: 3.383 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.295, allocations: 167.3 kB / 1.09 GB, free: 3.207 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.295, allocations: 25.7 kB / 1.09 GB, free: 3.176 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.435e-05/0.2951, allocations: 143.8 kB / 1.09 GB, free: 3.031 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.939e-05/0.2951, allocations: 59.19 kB / 1.09 GB, free: 2.973 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.231e-05/0.2952, allocations: 53.61 kB / 1.09 GB, free: 2.914 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.155e-05/0.2953, allocations: 322.8 kB / 1.09 GB, free: 2.59 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.47e-05/0.2953, allocations: 31.98 kB / 1.09 GB, free: 2.559 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/0.2955, allocations: 144.2 kB / 1.09 GB, free: 2.371 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002137/0.2957, allocations: 198.7 kB / 1.091 GB, free: 2.129 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.2957, allocations: 4 kB / 1.091 GB, free: 2.125 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003163/0.296, allocations: 205.2 kB / 1.091 GB, free: 1.918 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.2961, allocations: 8 kB / 1.091 GB, free: 1.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.2961, allocations: 8 kB / 1.091 GB, free: 1.902 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.2961, allocations: 12.39 kB / 1.091 GB, free: 1.891 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/0.2963, allocations: 51.92 kB / 1.091 GB, free: 1.84 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.2963, allocations: 15.88 kB / 1.091 GB, free: 1.824 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.2964, allocations: 27.69 kB / 1.091 GB, free: 1.797 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.952e-05/0.2964, allocations: 16 kB / 1.091 GB, free: 1.781 MB / 0.8419 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.97e-05/0.2965, allocations: 133.7 kB / 1.091 GB, free: 1.641 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.658e-05/0.2966, allocations: 15.81 kB / 1.091 GB, free: 1.625 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002907/0.2969, allocations: 155.8 kB / 1.091 GB, free: 1.469 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/0.2969, allocations: 7.938 kB / 1.091 GB, free: 1.461 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.2969, allocations: 4 kB / 1.091 GB, free: 1.457 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.2969, allocations: 0 / 1.091 GB, free: 1.457 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002238/0.2972, allocations: 217.4 kB / 1.091 GB, free: 1.195 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2972, allocations: 0 / 1.091 GB, free: 1.195 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.686e-05/0.2973, allocations: 31.92 kB / 1.092 GB, free: 1.164 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.2973, allocations: 0 / 1.092 GB, free: 1.164 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.2973, allocations: 4 kB / 1.092 GB, free: 1.16 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.2973, allocations: 3.938 kB / 1.092 GB, free: 1.156 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2973, allocations: 0 / 1.092 GB, free: 1.156 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002358/0.2975, allocations: 225 kB / 1.092 GB, free: 0.9219 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.209e-05/0.2976, allocations: 109 kB / 1.092 GB, free: 0.7969 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.702e-05/0.2977, allocations: 0 / 1.092 GB, free: 0.7969 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002118/0.2979, allocations: 27.84 kB / 1.092 GB, free: 0.7695 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.567e-05/0.2979, allocations: 7.984 kB / 1.092 GB, free: 0.7617 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.263e-05/0.298, allocations: 15.98 kB / 1.092 GB, free: 0.7461 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.412e-05/0.298, allocations: 120.9 kB / 1.092 GB, free: 0.6289 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.298, allocations: 0 / 1.092 GB, free: 0.6289 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003944/0.2984, allocations: 83.84 kB / 1.092 GB, free: 0.5469 MB / 0.8419 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.0007141/0.2992, allocations: 0.8366 MB / 1.093 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002402/0.2994, allocations: 127.7 kB / 1.093 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.2994, allocations: 0 / 1.093 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.221e-05/0.2995, allocations: 48.8 kB / 1.093 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004512/0.3, allocations: 70.02 kB / 1.093 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001999/0.302, allocations: 2.026 MB / 1.095 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/0.3022, allocations: 0.7128 MB / 1.096 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001895/0.3024, allocations: 49.73 kB / 1.096 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.617e-05/0.3025, allocations: 47.42 kB / 1.096 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of SimCode: time 3.41e-07/0.3025, allocations: 0 / 1.096 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02143/0.3239, allocations: 5.424 MB / 1.101 GB, free: 7.125 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.273/7.597, allocations: 14.64 kB / 1.101 GB, free: 7.113 MB / 0.8575 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches