Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_9_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.001436/0.001436, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00177/0.00177, allocations: 195.2 kB / 16.25 MB, free: 6.625 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.216/1.216, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.123/2.123, allocations: 390.3 MB / 0.6644 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002201/0.002201, allocations: 63.91 kB / 0.8122 GB, free: 14.72 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5688/0.571, allocations: 140.4 MB / 0.9492 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.004604/0.5756, allocations: 4.478 MB / 0.9536 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002012/0.5776, allocations: 2.672 MB / 0.9562 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.414e-05/0.5777, allocations: 1.125 kB / 0.9562 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001896/0.5779, allocations: 43.5 kB / 0.9562 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002115/0.5782, allocations: 86.89 kB / 0.9563 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009487/0.5791, allocations: 454.3 kB / 0.9568 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000216/0.5794, allocations: 234.7 kB / 0.957 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.919e-05/0.5794, allocations: 13.64 kB / 0.957 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007213/0.5801, allocations: 411.4 kB / 0.9574 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.5802, allocations: 89.14 kB / 0.9575 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.5803, allocations: 8.062 kB / 0.9575 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000748/0.581, allocations: 0.5013 MB / 0.958 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.898e-05/0.5811, allocations: 41.39 kB / 0.958 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.291e-05/0.5812, allocations: 79.41 kB / 0.9581 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005139/0.5817, allocations: 357 kB / 0.9584 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.5817, allocations: 0 / 0.9584 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.283e-06/0.5817, allocations: 1.344 kB / 0.9584 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.5817, allocations: 0 / 0.9584 GB, free: 2.051 MB / 0.7169 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.0005226/0.5822, allocations: 0.4922 MB / 0.9589 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.5823, allocations: 10.47 kB / 0.9589 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.953e-05/0.5823, allocations: 56.23 kB / 0.959 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001443/0.5825, allocations: 21.11 kB / 0.959 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.5826, allocations: 213.1 kB / 0.9592 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.5826, allocations: 11.05 kB / 0.9592 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.5827, allocations: 15.22 kB / 0.9592 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002958/0.583, allocations: 255.9 kB / 0.9595 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.583, allocations: 0 / 0.9595 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.583, allocations: 7.531 kB / 0.9595 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.128e-05/0.583, allocations: 8.969 kB / 0.9595 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000398/0.5834, allocations: 433.4 kB / 0.9599 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007825/0.5842, allocations: 1.003 MB / 0.9609 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002554/0.5845, allocations: 162 kB / 0.961 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.894e-05/0.5846, allocations: 64.91 kB / 0.9611 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001193/0.5858, allocations: 1.83 MB / 0.9629 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.5858, allocations: 36.94 kB / 0.9629 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.422e-06/0.5858, allocations: 0 / 0.9629 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0002926/0.5861, allocations: 143.7 kB / 0.963 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.5862, allocations: 52.66 kB / 0.9631 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.5863, allocations: 166.7 kB / 0.9633 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.5863, allocations: 31.8 kB / 0.9633 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.273e-05/0.5864, allocations: 142.5 kB / 0.9634 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.53e-05/0.5865, allocations: 54.77 kB / 0.9635 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.916e-05/0.5865, allocations: 52.75 kB / 0.9635 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.618e-05/0.5866, allocations: 329.9 kB / 0.9638 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.394e-05/0.5867, allocations: 33.38 kB / 0.9639 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.5868, allocations: 138.2 kB / 0.964 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002103/0.587, allocations: 205 kB / 0.9642 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.587, allocations: 0 / 0.9642 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003043/0.5874, allocations: 223.6 kB / 0.9644 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.5874, allocations: 6.375 kB / 0.9644 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.5874, allocations: 3.344 kB / 0.9644 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.5874, allocations: 9.625 kB / 0.9644 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.5876, allocations: 52.17 kB / 0.9645 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.5876, allocations: 9.234 kB / 0.9645 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001191/0.5877, allocations: 36.84 kB / 0.9645 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.5877, allocations: 15.62 kB / 0.9645 GB, free: 12.24 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.493e-05/0.5878, allocations: 134.6 kB / 0.9647 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.777e-05/0.5879, allocations: 15.69 kB / 0.9647 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002684/0.5882, allocations: 149.2 kB / 0.9648 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.5882, allocations: 5.438 kB / 0.9648 GB, free: 12 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.5882, allocations: 1.219 kB / 0.9648 GB, free: 12 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.5882, allocations: 0 / 0.9648 GB, free: 12 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002238/0.5884, allocations: 225.1 kB / 0.965 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.5884, allocations: 1.125 kB / 0.965 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.403e-05/0.5885, allocations: 26.34 kB / 0.9651 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.5885, allocations: 1 kB / 0.9651 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.5886, allocations: 10.2 kB / 0.9651 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.5886, allocations: 4.938 kB / 0.9651 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.5886, allocations: 0 / 0.9651 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002181/0.5888, allocations: 217.1 kB / 0.9653 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.417e-05/0.5889, allocations: 104.5 kB / 0.9654 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.248e-05/0.5889, allocations: 1.5 kB / 0.9654 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002121/0.5891, allocations: 28.62 kB / 0.9654 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.894e-05/0.5891, allocations: 5.062 kB / 0.9654 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.03e-05/0.5892, allocations: 14.02 kB / 0.9654 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.074e-05/0.5893, allocations: 120.9 kB / 0.9656 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5893, allocations: 3.938 kB / 0.9656 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003632/0.5896, allocations: 85.45 kB / 0.9656 GB, free: 11.3 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.0006439/0.5903, allocations: 0.8342 MB / 0.9665 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002168/0.5905, allocations: 128.5 kB / 0.9666 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.5905, allocations: 4.312 kB / 0.9666 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.553e-05/0.5906, allocations: 42.42 kB / 0.9666 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000398/0.591, allocations: 58.97 kB / 0.9667 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001926/0.5929, allocations: 2.069 MB / 0.9687 GB, free: 8.637 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002397/0.5932, allocations: 0.7165 MB / 0.9694 GB, free: 7.922 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001683/0.5934, allocations: 48.39 kB / 0.9694 GB, free: 7.895 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.526e-05/0.5934, allocations: 49.17 kB / 0.9695 GB, free: 7.859 MB / 0.7325 GB Notification: Performance of SimCode: time 3.91e-07/0.5934, allocations: 1.188 kB / 0.9695 GB, free: 7.859 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4035/0.9969, allocations: 5.038 MB / 0.9744 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002011/0.9971, allocations: 198.8 kB / 0.9746 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.768/2.765, allocations: 1.062 kB / 0.9746 GB, free: 5.113 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterProperties.fmu > Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches