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.00172/0.00172, 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.001885/0.001885, allocations: 194.6 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.301/1.301, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.271/2.271, allocations: 390.3 MB / 0.6647 GB, free: 464 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002359/0.00236, allocations: 67.89 kB / 0.8126 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.633/0.6353, allocations: 140.4 MB / 0.9497 GB, free: 9.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.005039/0.6404, allocations: 4.427 MB / 0.954 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002163/0.6426, allocations: 2.691 MB / 0.9567 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.011e-05/0.6427, allocations: 1 kB / 0.9567 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002524/0.643, allocations: 51.27 kB / 0.9567 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002344/0.6432, allocations: 95.73 kB / 0.9568 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001003/0.6443, allocations: 491.4 kB / 0.9573 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001882/0.6444, allocations: 234.3 kB / 0.9575 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.202e-05/0.6445, allocations: 12.22 kB / 0.9575 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007906/0.6453, allocations: 415.6 kB / 0.9579 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.6454, allocations: 89.12 kB / 0.958 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.388e-05/0.6454, allocations: 7.438 kB / 0.958 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008802/0.6463, allocations: 495.2 kB / 0.9585 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.66e-05/0.6464, allocations: 37.58 kB / 0.9585 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.27e-05/0.6465, allocations: 74.7 kB / 0.9586 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004971/0.647, allocations: 356.5 kB / 0.9589 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.647, allocations: 7.875 kB / 0.9589 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.102e-06/0.647, allocations: 4 kB / 0.9589 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.647, allocations: 0.9062 kB / 0.9589 GB, free: 1.918 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.0005522/0.6476, allocations: 0.4889 MB / 0.9594 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.6476, allocations: 9.625 kB / 0.9594 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.83e-05/0.6476, allocations: 52.23 kB / 0.9595 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001456/0.6478, allocations: 21.12 kB / 0.9595 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.6479, allocations: 220.5 kB / 0.9597 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.648, allocations: 15.52 kB / 0.9597 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/0.648, allocations: 15.38 kB / 0.9597 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002958/0.6483, allocations: 256.1 kB / 0.96 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.6483, allocations: 0 / 0.96 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.143e-05/0.6483, allocations: 7.375 kB / 0.96 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.507e-05/0.6484, allocations: 5.719 kB / 0.96 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004337/0.6488, allocations: 424.8 kB / 0.9604 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008663/0.6497, allocations: 1.016 MB / 0.9614 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003055/0.65, allocations: 165.2 kB / 0.9615 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.6501, allocations: 64.97 kB / 0.9616 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001335/0.6514, allocations: 1.814 MB / 0.9634 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.6515, allocations: 41.44 kB / 0.9634 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.343e-06/0.6515, allocations: 0 / 0.9634 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0003725/0.6519, allocations: 149.8 kB / 0.9635 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.6519, allocations: 52.5 kB / 0.9636 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.6521, allocations: 170.5 kB / 0.9638 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.6521, allocations: 31.02 kB / 0.9638 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.858e-05/0.6522, allocations: 143.8 kB / 0.9639 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.476e-05/0.6522, allocations: 54.3 kB / 0.964 GB, free: 13 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.007e-05/0.6523, allocations: 52.45 kB / 0.964 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.6525, allocations: 322 kB / 0.9643 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.6526, allocations: 37.66 kB / 0.9644 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002032/0.6528, allocations: 142.7 kB / 0.9645 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002378/0.6531, allocations: 195 kB / 0.9647 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.6531, allocations: 5.109 kB / 0.9647 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003207/0.6534, allocations: 217.9 kB / 0.9649 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.6534, allocations: 6.062 kB / 0.9649 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.6534, allocations: 4.906 kB / 0.9649 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.6535, allocations: 8.844 kB / 0.9649 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001719/0.6536, allocations: 60.53 kB / 0.965 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.6537, allocations: 8.797 kB / 0.965 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.6538, allocations: 28.72 kB / 0.965 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.63e-05/0.6538, allocations: 11.19 kB / 0.965 GB, free: 12.12 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 0.0001407/0.654, allocations: 129.5 kB / 0.9652 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.132e-05/0.6541, allocations: 24.53 kB / 0.9652 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003961/0.6545, allocations: 156.5 kB / 0.9653 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/0.6545, allocations: 6.344 kB / 0.9653 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.6545, allocations: 0 / 0.9653 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.6545, allocations: 1.125 kB / 0.9653 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003381/0.6549, allocations: 216.9 kB / 0.9655 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.6549, allocations: 1.25 kB / 0.9655 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/0.6551, allocations: 22.98 kB / 0.9656 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.6551, allocations: 5.25 kB / 0.9656 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.6551, allocations: 9.312 kB / 0.9656 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.6551, allocations: 9.031 kB / 0.9656 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.6551, allocations: 3.984 kB / 0.9656 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003192/0.6554, allocations: 225.5 kB / 0.9658 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.6556, allocations: 105.1 kB / 0.9659 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.277e-05/0.6556, allocations: 3.562 kB / 0.9659 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003109/0.6559, allocations: 20.23 kB / 0.9659 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.588e-05/0.656, allocations: 11.89 kB / 0.9659 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.858e-05/0.656, allocations: 15.48 kB / 0.966 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000103/0.6561, allocations: 114.9 kB / 0.9661 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6561, allocations: 0 / 0.9661 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005869/0.6567, allocations: 78.97 kB / 0.9661 GB, free: 11.17 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.0009749/0.6577, allocations: 0.8313 MB / 0.9669 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003471/0.6581, allocations: 124.9 kB / 0.9671 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.6581, allocations: 1.344 kB / 0.9671 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.6582, allocations: 44.55 kB / 0.9671 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006383/0.6588, allocations: 57.42 kB / 0.9672 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002864/0.6617, allocations: 2.025 MB / 0.9691 GB, free: 8.559 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.6621, allocations: 0.7161 MB / 0.9698 GB, free: 7.844 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002677/0.6624, allocations: 44.75 kB / 0.9699 GB, free: 7.82 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.246e-05/0.6625, allocations: 45.36 kB / 0.9699 GB, free: 7.789 MB / 0.7325 GB Notification: Performance of SimCode: time 3.6e-07/0.6625, allocations: 0 / 0.9699 GB, free: 7.789 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02606/0.6885, allocations: 5.13 MB / 0.9749 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.65/8.339, allocations: 5.922 kB / 0.9749 GB, free: 5.164 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 & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Media_Examples_PropyleneGlycolWaterProperties.fmu > Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.csv","/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