Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.WaterProperties.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.WaterProperties,fileNamePrefix="Buildings_10_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_10_Buildings_Media_Examples_WaterProperties",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.008376/0.008376, allocations: 98.97 kB / 15.73 MB, free: 6.004 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.001863/0.001863, allocations: 192.8 kB / 16.67 MB, free: 5.93 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.438/2.438, allocations: 437 MB / 0.7105 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 67.89 kB / 1.018 GB, free: 9.91 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7944/0.7957, allocations: 151.6 MB / 1.166 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.005549/0.8013, allocations: 4.723 MB / 1.171 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.002598/0.8039, allocations: 2.706 MB / 1.173 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.837e-05/0.804, allocations: 0 / 1.173 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0002383/0.8043, allocations: 43.69 kB / 1.173 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0002541/0.8046, allocations: 103.3 kB / 1.174 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001176/0.8057, allocations: 0.517 MB / 1.174 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002528/0.806, allocations: 231.9 kB / 1.174 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 5.31e-05/0.8061, allocations: 9.562 kB / 1.174 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001942/0.8063, allocations: 119.6 kB / 1.174 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001456/0.8064, allocations: 91.61 kB / 1.175 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.809e-05/0.8065, allocations: 8 kB / 1.175 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000661/0.8071, allocations: 371.3 kB / 1.175 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 7.468e-05/0.8072, allocations: 43.7 kB / 1.175 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 8.996e-05/0.8073, allocations: 83.66 kB / 1.175 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005676/0.8079, allocations: 354.6 kB / 1.175 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.8079, allocations: 0 / 1.175 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.392e-06/0.8079, allocations: 0 / 1.175 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.8079, allocations: 0 / 1.175 GB, free: 10.36 MB / 0.9044 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.0007265/0.8086, allocations: 0.5065 MB / 1.176 GB, free: 9.805 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.8087, allocations: 8.922 kB / 1.176 GB, free: 9.797 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.465e-05/0.8087, allocations: 50.73 kB / 1.176 GB, free: 9.738 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001459/0.8089, allocations: 28.78 kB / 1.176 GB, free: 9.711 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002762/0.8092, allocations: 212.1 kB / 1.176 GB, free: 9.465 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.8092, allocations: 12.7 kB / 1.176 GB, free: 9.453 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/0.8092, allocations: 16.38 kB / 1.176 GB, free: 9.438 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003648/0.8096, allocations: 248 kB / 1.176 GB, free: 9.176 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.8096, allocations: 4 kB / 1.176 GB, free: 9.172 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.39e-05/0.8097, allocations: 8 kB / 1.176 GB, free: 9.164 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.402e-05/0.8097, allocations: 11.92 kB / 1.176 GB, free: 9.152 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004391/0.8101, allocations: 427.5 kB / 1.177 GB, free: 8.734 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001087/0.8112, allocations: 0.9566 MB / 1.178 GB, free: 7.688 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000271/0.8115, allocations: 158.9 kB / 1.178 GB, free: 7.523 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.895e-05/0.8116, allocations: 60.88 kB / 1.178 GB, free: 7.461 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001267/0.8129, allocations: 1.837 MB / 1.18 GB, free: 5.266 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.8129, allocations: 34.56 kB / 1.18 GB, free: 5.223 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=15): time 1.332e-06/0.8129, allocations: 0 / 1.18 GB, free: 5.223 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15): time 0.000336/0.8133, allocations: 152 kB / 1.18 GB, free: 5.07 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.8133, allocations: 51.41 kB / 1.18 GB, free: 5.008 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.8135, allocations: 167.3 kB / 1.18 GB, free: 4.832 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.8135, allocations: 29.7 kB / 1.18 GB, free: 4.797 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.786e-05/0.8136, allocations: 148 kB / 1.18 GB, free: 4.648 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.028e-05/0.8137, allocations: 55.53 kB / 1.18 GB, free: 4.594 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.288e-05/0.8137, allocations: 57.62 kB / 1.18 GB, free: 4.531 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.8139, allocations: 326.8 kB / 1.181 GB, free: 4.203 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.924e-05/0.8139, allocations: 35.97 kB / 1.181 GB, free: 4.168 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.8141, allocations: 137.7 kB / 1.181 GB, free: 3.984 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002149/0.8143, allocations: 201.4 kB / 1.181 GB, free: 3.738 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.8143, allocations: 4 kB / 1.181 GB, free: 3.734 MB / 0.9044 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003072/0.8146, allocations: 214.4 kB / 1.181 GB, free: 3.52 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.8147, allocations: 8 kB / 1.181 GB, free: 3.512 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.8147, allocations: 4 kB / 1.181 GB, free: 3.508 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.8147, allocations: 7.938 kB / 1.181 GB, free: 3.5 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.8149, allocations: 51.92 kB / 1.181 GB, free: 3.449 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/0.8149, allocations: 15.92 kB / 1.181 GB, free: 3.434 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.815, allocations: 31.72 kB / 1.181 GB, free: 3.402 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.797e-05/0.815, allocations: 12 kB / 1.181 GB, free: 3.391 MB / 0.9044 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.0001045/0.8151, allocations: 140.2 kB / 1.182 GB, free: 3.246 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.984e-05/0.8152, allocations: 15.91 kB / 1.182 GB, free: 3.23 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002937/0.8155, allocations: 149.4 kB / 1.182 GB, free: 3.082 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/0.8155, allocations: 11.92 kB / 1.182 GB, free: 3.07 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.8155, allocations: 4 kB / 1.182 GB, free: 3.066 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.8155, allocations: 0 / 1.182 GB, free: 3.066 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002274/0.8158, allocations: 209.6 kB / 1.182 GB, free: 2.812 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.8158, allocations: 3.984 kB / 1.182 GB, free: 2.809 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.463e-05/0.8159, allocations: 23.94 kB / 1.182 GB, free: 2.785 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.8159, allocations: 4 kB / 1.182 GB, free: 2.781 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.8159, allocations: 11.98 kB / 1.182 GB, free: 2.77 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.8159, allocations: 7.875 kB / 1.182 GB, free: 2.762 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.8159, allocations: 0 / 1.182 GB, free: 2.762 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002305/0.8161, allocations: 215.4 kB / 1.182 GB, free: 2.535 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.645e-05/0.8162, allocations: 109 kB / 1.182 GB, free: 2.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.8163, allocations: 3.984 kB / 1.182 GB, free: 2.406 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001998/0.8165, allocations: 23.88 kB / 1.182 GB, free: 2.383 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.354e-05/0.8165, allocations: 7.984 kB / 1.182 GB, free: 2.375 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.366e-05/0.8165, allocations: 15.98 kB / 1.182 GB, free: 2.359 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.09e-05/0.8166, allocations: 128.8 kB / 1.182 GB, free: 2.234 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8166, allocations: 0 / 1.182 GB, free: 2.234 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000401/0.817, allocations: 79.8 kB / 1.183 GB, free: 2.156 MB / 0.9044 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.0006895/0.8177, allocations: 0.8243 MB / 1.183 GB, free: 1.305 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002192/0.818, allocations: 124.6 kB / 1.183 GB, free: 1.184 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.818, allocations: 4.062 kB / 1.183 GB, free: 1.18 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 6.206e-05/0.8181, allocations: 43.92 kB / 1.183 GB, free: 1.137 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004115/0.8185, allocations: 55.88 kB / 1.184 GB, free: 1.082 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002174/0.8207, allocations: 2.043 MB / 1.186 GB, free: 14.86 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.821, allocations: 0.709 MB / 1.186 GB, free: 14.13 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001515/0.8211, allocations: 45.81 kB / 1.186 GB, free: 14.08 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.921e-05/0.8212, allocations: 43.42 kB / 1.186 GB, free: 14.04 MB / 0.92 GB Notification: Performance of SimCode: time 3e-07/0.8212, allocations: 0 / 1.186 GB, free: 14.04 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02244/0.8437, allocations: 5.263 MB / 1.191 GB, free: 8.883 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.571/8.415, allocations: 14.91 kB / 1.191 GB, free: 8.871 MB / 0.92 GB (rm -f Buildings_10_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_10_Buildings.Media.Examples.WaterProperties.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Media.Examples.WaterProperties_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_WaterProperties.fmu > Buildings_10_Buildings.Media.Examples.WaterProperties.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.WaterProperties_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_WaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.WaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches