Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.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.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_10_Buildings_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_10_Buildings_Media_Examples_PropyleneGlycolWaterProperties",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.007448/0.007448, allocations: 98.25 kB / 15.73 MB, free: 6.445 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.001884/0.001884, allocations: 194.9 kB / 16.67 MB, free: 6.352 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.329/1.329, allocations: 222.9 MB / 240.4 MB, free: 4.289 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.525/2.525, allocations: 437.1 MB / 0.7105 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 67.89 kB / 1.018 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2762, allocations: 151.6 MB / 1.166 GB, free: 7.23 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.005836/0.2821, allocations: 4.432 MB / 1.171 GB, free: 2.77 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00268/0.2848, allocations: 2.695 MB / 1.173 GB, free: 68 kB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.192e-05/0.2849, allocations: 0 / 1.173 GB, free: 68 kB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002216/0.2852, allocations: 51.67 kB / 1.173 GB, free: 16 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002444/0.2854, allocations: 91.48 kB / 1.173 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009968/0.2864, allocations: 0.4935 MB / 1.174 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00022/0.2866, allocations: 239.8 kB / 1.174 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.048e-05/0.2867, allocations: 13.55 kB / 1.174 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007934/0.2875, allocations: 415.1 kB / 1.174 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.2876, allocations: 95.59 kB / 1.175 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.227e-05/0.2876, allocations: 8 kB / 1.175 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000832/0.2885, allocations: 499 kB / 1.175 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.601e-05/0.2885, allocations: 35.83 kB / 1.175 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.995e-05/0.2886, allocations: 87.58 kB / 1.175 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005003/0.2891, allocations: 350.9 kB / 1.175 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.2892, allocations: 0 / 1.175 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.133e-06/0.2892, allocations: 0 / 1.175 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.2892, allocations: 0 / 1.175 GB, free: 13.72 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.0006198/0.2898, allocations: 0.5025 MB / 1.176 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.004e-05/0.2898, allocations: 15.97 kB / 1.176 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.676e-05/0.2899, allocations: 50.72 kB / 1.176 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001446/0.29, allocations: 24.84 kB / 1.176 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002404/0.2903, allocations: 212.1 kB / 1.176 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.2903, allocations: 8.703 kB / 1.176 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.2903, allocations: 16.38 kB / 1.176 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003265/0.2907, allocations: 252.9 kB / 1.176 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.2907, allocations: 0 / 1.176 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.03e-05/0.2907, allocations: 8 kB / 1.176 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.339e-05/0.2907, allocations: 4 kB / 1.176 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004383/0.2912, allocations: 435.5 kB / 1.177 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009309/0.2921, allocations: 1.004 MB / 1.178 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002478/0.2924, allocations: 161.6 kB / 1.178 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.413e-05/0.2925, allocations: 64.89 kB / 1.178 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001185/0.2937, allocations: 1.829 MB / 1.18 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.2937, allocations: 38.56 kB / 1.18 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=15): time 1.343e-06/0.2937, allocations: 0 / 1.18 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15): time 0.0003019/0.294, allocations: 151.6 kB / 1.18 GB, free: 8.375 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.711e-05/0.2941, allocations: 59.41 kB / 1.18 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.2942, allocations: 169.6 kB / 1.18 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.2942, allocations: 29.7 kB / 1.18 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.919e-05/0.2943, allocations: 144.1 kB / 1.18 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.499e-05/0.2943, allocations: 59.47 kB / 1.181 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.005e-05/0.2944, allocations: 49.7 kB / 1.181 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.172e-05/0.2945, allocations: 322.8 kB / 1.181 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.289e-05/0.2946, allocations: 31.98 kB / 1.181 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.2947, allocations: 151.1 kB / 1.181 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002025/0.2949, allocations: 193.5 kB / 1.181 GB, free: 7.043 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.2949, allocations: 0 / 1.181 GB, free: 7.043 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002952/0.2952, allocations: 222.7 kB / 1.181 GB, free: 6.82 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.2952, allocations: 4 kB / 1.181 GB, free: 6.816 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.2952, allocations: 4 kB / 1.181 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.2953, allocations: 16.39 kB / 1.181 GB, free: 6.797 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/0.2954, allocations: 47.92 kB / 1.182 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.2954, allocations: 8 kB / 1.182 GB, free: 6.742 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.2956, allocations: 27.78 kB / 1.182 GB, free: 6.715 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.2956, allocations: 19.94 kB / 1.182 GB, free: 6.695 MB / 0.9356 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.282e-05/0.2957, allocations: 129.8 kB / 1.182 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.556e-05/0.2957, allocations: 15.91 kB / 1.182 GB, free: 6.543 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002808/0.296, allocations: 170.8 kB / 1.182 GB, free: 6.371 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.298e-06/0.296, allocations: 3.938 kB / 1.182 GB, free: 6.367 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.296, allocations: 0 / 1.182 GB, free: 6.367 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.2961, allocations: 7.938 kB / 1.182 GB, free: 6.359 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002076/0.2963, allocations: 209.5 kB / 1.182 GB, free: 6.105 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.2963, allocations: 4 kB / 1.182 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.29e-05/0.2964, allocations: 23.98 kB / 1.182 GB, free: 6.078 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.2964, allocations: 4 kB / 1.182 GB, free: 6.074 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.2964, allocations: 3.984 kB / 1.182 GB, free: 6.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.2964, allocations: 3.938 kB / 1.182 GB, free: 6.066 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2964, allocations: 0 / 1.182 GB, free: 6.066 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002118/0.2966, allocations: 229 kB / 1.182 GB, free: 5.828 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.15e-05/0.2967, allocations: 108.9 kB / 1.182 GB, free: 5.703 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.213e-05/0.2967, allocations: 4 kB / 1.182 GB, free: 5.699 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002016/0.2969, allocations: 15.92 kB / 1.182 GB, free: 5.684 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.996e-05/0.297, allocations: 11.98 kB / 1.182 GB, free: 5.672 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.897e-05/0.297, allocations: 8 kB / 1.182 GB, free: 5.664 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.833e-05/0.2971, allocations: 124.2 kB / 1.183 GB, free: 5.543 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2971, allocations: 0 / 1.183 GB, free: 5.543 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003551/0.2974, allocations: 79.8 kB / 1.183 GB, free: 5.465 MB / 0.9356 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.0006028/0.2981, allocations: 0.8284 MB / 1.183 GB, free: 4.609 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002067/0.2983, allocations: 124.1 kB / 1.184 GB, free: 4.488 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2983, allocations: 0 / 1.184 GB, free: 4.488 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 6.741e-05/0.2984, allocations: 51.89 kB / 1.184 GB, free: 4.438 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004064/0.2988, allocations: 58.33 kB / 1.184 GB, free: 4.383 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001967/0.3007, allocations: 2.038 MB / 1.186 GB, free: 2.176 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002406/0.301, allocations: 0.7168 MB / 1.186 GB, free: 1.434 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001391/0.3011, allocations: 53.67 kB / 1.186 GB, free: 1.379 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.466e-05/0.3012, allocations: 47.42 kB / 1.186 GB, free: 1.332 MB / 0.9356 GB Notification: Performance of SimCode: time 2.71e-07/0.3012, allocations: 0 / 1.186 GB, free: 1.332 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02179/0.323, allocations: 5.178 MB / 1.192 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.713/8.036, allocations: 4.281 kB / 1.192 GB, free: 12.28 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties_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_Examples_PropyleneGlycolWaterProperties.fmu > Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches