Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",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.007031/0.007031, allocations: 101.6 kB / 15.73 MB, free: 5.98 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.001737/0.001737, allocations: 190.5 kB / 16.67 MB, free: 5.918 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.3/1.3, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.163/2.163, allocations: 390.3 MB / 0.6648 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001709/0.001709, allocations: 63.89 kB / 0.9504 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9365/0.9382, allocations: 140.4 MB / 1.087 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.2162/1.154, allocations: 171.1 MB / 1.255 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006798/1.161, allocations: 4.285 MB / 1.259 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008911/1.162, allocations: 23.88 kB / 1.259 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001192/1.163, allocations: 353.9 kB / 1.259 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003101/1.167, allocations: 1.229 MB / 1.26 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002096/1.169, allocations: 0.7855 MB / 1.261 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002353/1.171, allocations: 1.695 MB / 1.263 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009416/1.172, allocations: 0.5698 MB / 1.263 GB, free: 9.754 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001309/1.173, allocations: 0.6771 MB / 1.264 GB, free: 9.074 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001377/1.175, allocations: 0.5538 MB / 1.264 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001915/1.175, allocations: 71.94 kB / 1.265 GB, free: 8.453 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001612/1.177, allocations: 0.799 MB / 1.265 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003322/1.177, allocations: 275.2 kB / 1.266 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006246/1.178, allocations: 398.3 kB / 1.266 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00187/1.179, allocations: 1.27 MB / 1.267 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/1.179, allocations: 4 kB / 1.267 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.373e-06/1.179, allocations: 0 / 1.267 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.226e-05/1.179, allocations: 4 kB / 1.267 GB, free: 5.711 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.002114/1.182, allocations: 1.025 MB / 1.268 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/1.182, allocations: 16.03 kB / 1.268 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001466/1.182, allocations: 102.5 kB / 1.268 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001089/1.183, allocations: 155.1 kB / 1.268 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009051/1.184, allocations: 0.5444 MB / 1.269 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.314e-05/1.184, allocations: 41.3 kB / 1.269 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.096e-05/1.184, allocations: 56 kB / 1.269 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/1.185, allocations: 0.6402 MB / 1.27 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/1.185, allocations: 0 / 1.27 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.221e-05/1.185, allocations: 27.94 kB / 1.27 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.423e-05/1.185, allocations: 25.3 kB / 1.27 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009387/1.186, allocations: 0.5165 MB / 1.27 GB, free: 2.449 MB / 0.9981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003312/1.189, allocations: 2.301 MB / 1.272 GB, free: 15.98 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004959/1.19, allocations: 246.8 kB / 1.273 GB, free: 15.73 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002423/1.19, allocations: 139 kB / 1.273 GB, free: 15.59 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.906e-05/1.19, allocations: 8 kB / 1.273 GB, free: 15.59 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/1.19, allocations: 42.56 kB / 1.273 GB, free: 15.54 MB / 1.014 GB Notification: Performance of pre-optimization done (n=20): time 1.492e-06/1.19, allocations: 0 / 1.273 GB, free: 15.54 MB / 1.014 GB Notification: Performance of matching and sorting (n=20): time 0.001632/1.192, allocations: 0.665 MB / 1.274 GB, free: 14.82 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.241e-05/1.192, allocations: 81.11 kB / 1.274 GB, free: 14.72 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006321/1.193, allocations: 0.5613 MB / 1.274 GB, free: 14.15 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.874e-05/1.193, allocations: 33.7 kB / 1.274 GB, free: 14.11 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002199/1.193, allocations: 338.9 kB / 1.275 GB, free: 13.77 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.625e-05/1.193, allocations: 63.11 kB / 1.275 GB, free: 13.71 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/1.193, allocations: 73.92 kB / 1.275 GB, free: 13.63 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001418/1.193, allocations: 362.7 kB / 1.275 GB, free: 13.27 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002589/1.194, allocations: 132.6 kB / 1.275 GB, free: 13.14 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002973/1.194, allocations: 218.5 kB / 1.275 GB, free: 12.89 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005221/1.194, allocations: 332.9 kB / 1.276 GB, free: 12.54 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/1.194, allocations: 0 / 1.276 GB, free: 12.54 MB / 1.014 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009008/1.195, allocations: 0.4947 MB / 1.276 GB, free: 12.03 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/1.195, allocations: 8 kB / 1.276 GB, free: 12.02 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/1.195, allocations: 0 / 1.276 GB, free: 12.02 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00031/1.196, allocations: 89.66 kB / 1.276 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000326/1.196, allocations: 79.89 kB / 1.276 GB, free: 11.85 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002986/1.199, allocations: 3.336 MB / 1.28 GB, free: 8.238 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004852/1.199, allocations: 55.36 kB / 1.28 GB, free: 8.184 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.106e-05/1.199, allocations: 8 kB / 1.28 GB, free: 8.176 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002614/1.2, allocations: 217.7 kB / 1.28 GB, free: 7.953 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/1.2, allocations: 51.5 kB / 1.28 GB, free: 7.902 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.837e-05/1.2, allocations: 60.5 kB / 1.28 GB, free: 7.844 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/1.2, allocations: 4 kB / 1.28 GB, free: 7.84 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/1.2, allocations: 7.875 kB / 1.28 GB, free: 7.832 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007088/1.201, allocations: 0.5322 MB / 1.28 GB, free: 7.23 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001269/1.202, allocations: 0.9143 MB / 1.281 GB, free: 6.25 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/1.202, allocations: 192 / 1.281 GB, free: 6.25 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002197/1.202, allocations: 51.91 kB / 1.281 GB, free: 6.199 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001974/1.202, allocations: 64.8 kB / 1.281 GB, free: 6.133 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/1.202, allocations: 8.062 kB / 1.281 GB, free: 6.125 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001623/1.204, allocations: 1.824 MB / 1.283 GB, free: 4.156 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/1.204, allocations: 4.031 kB / 1.283 GB, free: 4.152 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006194/1.205, allocations: 435.7 kB / 1.284 GB, free: 3.703 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000248/1.205, allocations: 168.3 kB / 1.284 GB, free: 3.52 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.222e-05/1.205, allocations: 7.938 kB / 1.284 GB, free: 3.512 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004336/1.206, allocations: 20.17 kB / 1.284 GB, free: 3.492 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.007e-05/1.206, allocations: 27.95 kB / 1.284 GB, free: 3.465 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.06e-05/1.206, allocations: 11.98 kB / 1.284 GB, free: 3.453 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004325/1.206, allocations: 398.8 kB / 1.284 GB, free: 3.066 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/1.206, allocations: 0 / 1.284 GB, free: 3.066 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006438/1.207, allocations: 207.7 kB / 1.285 GB, free: 2.863 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001194/1.208, allocations: 1.027 MB / 1.286 GB, free: 1.809 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009038/1.209, allocations: 0.5286 MB / 1.286 GB, free: 1.254 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/1.209, allocations: 0 / 1.286 GB, free: 1.254 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003562/1.209, allocations: 267.1 kB / 1.286 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001617/1.211, allocations: 375.4 kB / 1.287 GB, free: 0.625 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005996/1.217, allocations: 4.447 MB / 1.291 GB, free: 12.02 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005329/1.217, allocations: 0.9054 MB / 1.292 GB, free: 11.09 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0004283/1.218, allocations: 112.8 kB / 1.292 GB, free: 10.98 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000275/1.218, allocations: 195.4 kB / 1.292 GB, free: 10.79 MB / 1.029 GB Notification: Performance of SimCode: time 4.31e-07/1.218, allocations: 0 / 1.292 GB, free: 10.79 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05973/1.278, allocations: 17.8 MB / 1.31 GB, free: 9.371 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/13.14, allocations: 2.5 kB / 1.31 GB, free: 9.371 MB / 1.045 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_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_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches