Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_11_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.001966/0.001966, allocations: 108 kB / 15.61 MB, free: 152 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.002305/0.002305, allocations: 197.5 kB / 16.53 MB, free: 6.664 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.437/1.437, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.877/2.877, allocations: 469.8 MB / 0.7424 GB, free: 7.461 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 69.56 kB / 0.9086 GB, free: 34.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2558, allocations: 159.2 MB / 1.064 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.006535/0.2624, allocations: 4.431 MB / 1.068 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003185/0.2656, allocations: 2.683 MB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.553e-05/0.2657, allocations: 0 / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000241/0.2659, allocations: 47.67 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002736/0.2662, allocations: 103.3 kB / 1.071 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001183/0.2674, allocations: 486.2 kB / 1.072 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002764/0.2677, allocations: 235.9 kB / 1.072 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.774e-05/0.2677, allocations: 9.562 kB / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009306/0.2687, allocations: 430.8 kB / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001352/0.2688, allocations: 87.66 kB / 1.072 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.573e-05/0.2689, allocations: 8 kB / 1.072 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001021/0.2699, allocations: 491.3 kB / 1.073 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.817e-05/0.27, allocations: 35.89 kB / 1.073 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.2701, allocations: 75.66 kB / 1.073 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006264/0.2707, allocations: 351.1 kB / 1.073 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.2707, allocations: 8 kB / 1.073 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2707, allocations: 0 / 1.073 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.127e-06/0.2707, allocations: 0 / 1.073 GB, free: 4.801 MB / 0.8262 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.0007718/0.2715, allocations: 0.4953 MB / 1.074 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.2716, allocations: 8.031 kB / 1.074 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.665e-05/0.2716, allocations: 62.67 kB / 1.074 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001671/0.2718, allocations: 24.73 kB / 1.074 GB, free: 4.156 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.272, allocations: 208.1 kB / 1.074 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.2721, allocations: 12.7 kB / 1.074 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.2721, allocations: 20.38 kB / 1.074 GB, free: 3.883 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003908/0.2725, allocations: 244.9 kB / 1.074 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.2725, allocations: 3.938 kB / 1.074 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.453e-05/0.2725, allocations: 8 kB / 1.074 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.616e-05/0.2726, allocations: 8 kB / 1.074 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000554/0.2731, allocations: 439.5 kB / 1.075 GB, free: 3.172 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001161/0.2743, allocations: 0.9998 MB / 1.076 GB, free: 2.078 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002997/0.2746, allocations: 159 kB / 1.076 GB, free: 1.914 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.2747, allocations: 60.88 kB / 1.076 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00156/0.2763, allocations: 1.825 MB / 1.078 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.898e-05/0.2764, allocations: 38.56 kB / 1.078 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=15): time 1.353e-06/0.2764, allocations: 0 / 1.078 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of matching and sorting (n=15): time 0.0003494/0.2767, allocations: 149.3 kB / 1.078 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.2768, allocations: 55.41 kB / 1.078 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.2769, allocations: 173 kB / 1.078 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/0.277, allocations: 33.7 kB / 1.078 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.2771, allocations: 143.8 kB / 1.078 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.234e-05/0.2771, allocations: 51.36 kB / 1.078 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.435e-05/0.2772, allocations: 49.61 kB / 1.078 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.2774, allocations: 326.8 kB / 1.079 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.854e-05/0.2775, allocations: 39.97 kB / 1.079 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/0.2776, allocations: 138.9 kB / 1.079 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002722/0.2779, allocations: 203 kB / 1.079 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2779, allocations: 0 / 1.079 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003555/0.2783, allocations: 211.8 kB / 1.079 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.2783, allocations: 8 kB / 1.079 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.2783, allocations: 7.938 kB / 1.079 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.2783, allocations: 7.938 kB / 1.079 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001798/0.2785, allocations: 55.91 kB / 1.079 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.2785, allocations: 7.938 kB / 1.079 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.2787, allocations: 27.69 kB / 1.079 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.294e-05/0.2787, allocations: 16 kB / 1.079 GB, free: 13.79 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 0.0001183/0.2788, allocations: 133.9 kB / 1.08 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.23e-05/0.2789, allocations: 11.91 kB / 1.08 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000317/0.2792, allocations: 154.9 kB / 1.08 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/0.2792, allocations: 7.922 kB / 1.08 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.2792, allocations: 7.938 kB / 1.08 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.2792, allocations: 0 / 1.08 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000269/0.2795, allocations: 217.5 kB / 1.08 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2795, allocations: 0 / 1.08 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.603e-05/0.2796, allocations: 20 kB / 1.08 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-06/0.2796, allocations: 0 / 1.08 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.2797, allocations: 15.98 kB / 1.08 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.2797, allocations: 3.938 kB / 1.08 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2797, allocations: 4 kB / 1.08 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002702/0.28, allocations: 220.7 kB / 1.08 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.2801, allocations: 112.8 kB / 1.08 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.2801, allocations: 0 / 1.08 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002237/0.2803, allocations: 19.92 kB / 1.08 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.375e-05/0.2804, allocations: 15.98 kB / 1.08 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.109e-05/0.2804, allocations: 11.98 kB / 1.08 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001078/0.2805, allocations: 125.6 kB / 1.08 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2805, allocations: 0 / 1.08 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003892/0.2809, allocations: 72 kB / 1.08 GB, free: 12.56 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.0008013/0.2817, allocations: 0.8297 MB / 1.081 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002564/0.282, allocations: 130.4 kB / 1.081 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.282, allocations: 0.9375 kB / 1.081 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 7.719e-05/0.2821, allocations: 43.92 kB / 1.081 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004526/0.2825, allocations: 59.88 kB / 1.082 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002338/0.2849, allocations: 2.024 MB / 1.083 GB, free: 9.285 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.2852, allocations: 0.7128 MB / 1.084 GB, free: 8.547 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001954/0.2854, allocations: 57.66 kB / 1.084 GB, free: 8.492 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.306e-05/0.2855, allocations: 43.42 kB / 1.084 GB, free: 8.449 MB / 0.8419 GB Notification: Performance of SimCode: time 3.81e-07/0.2855, allocations: 0 / 1.084 GB, free: 8.449 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03522/0.3208, allocations: 5.123 MB / 1.089 GB, free: 3.438 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.745/8.066, allocations: 7.781 kB / 1.089 GB, free: 3.434 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Media_Examples_PropyleneGlycolWaterProperties.fmu > Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches