Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_10_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.00168/0.00168, allocations: 108 kB / 15.6 MB, free: 132 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.001892/0.001892, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.2 MB, free: 4.406 MB / 190.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.465/2.465, allocations: 437 MB / 0.7104 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 63.91 kB / 0.8693 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4873/0.4886, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1559/0.6446, allocations: 171.1 MB / 1.184 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005673/0.6503, allocations: 4.298 MB / 1.189 GB, free: 2.465 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005443/0.6509, allocations: 19.88 kB / 1.189 GB, free: 2.445 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0008748/0.6518, allocations: 353.9 kB / 1.189 GB, free: 2.098 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002383/0.6542, allocations: 1.225 MB / 1.19 GB, free: 0.8672 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001673/0.6559, allocations: 0.7848 MB / 1.191 GB, free: 88 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001737/0.6576, allocations: 1.691 MB / 1.193 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007177/0.6584, allocations: 0.566 MB / 1.193 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001015/0.6594, allocations: 0.6888 MB / 1.194 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001111/0.6605, allocations: 0.5437 MB / 1.194 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001318/0.6607, allocations: 68 kB / 1.194 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001325/0.662, allocations: 0.7912 MB / 1.195 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000262/0.6623, allocations: 271.3 kB / 1.195 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004527/0.6627, allocations: 406.2 kB / 1.196 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001383/0.6641, allocations: 1.254 MB / 1.197 GB, free: 9.801 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.6641, allocations: 0 / 1.197 GB, free: 9.801 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.604e-06/0.6642, allocations: 0 / 1.197 GB, free: 9.801 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.353e-05/0.6642, allocations: 7.938 kB / 1.197 GB, free: 9.793 MB / 0.9512 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.001569/0.6657, allocations: 1.033 MB / 1.198 GB, free: 8.711 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.6658, allocations: 16.02 kB / 1.198 GB, free: 8.695 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001102/0.6659, allocations: 102.5 kB / 1.198 GB, free: 8.586 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009738/0.6669, allocations: 155.1 kB / 1.198 GB, free: 8.434 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006767/0.6676, allocations: 0.5249 MB / 1.199 GB, free: 7.867 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.316e-05/0.6676, allocations: 41.31 kB / 1.199 GB, free: 7.828 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.761e-05/0.6677, allocations: 56 kB / 1.199 GB, free: 7.773 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.6687, allocations: 0.6479 MB / 1.2 GB, free: 7.109 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.6687, allocations: 0 / 1.2 GB, free: 7.109 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.4e-05/0.6688, allocations: 31.98 kB / 1.2 GB, free: 7.078 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.911e-05/0.6688, allocations: 21.31 kB / 1.2 GB, free: 7.059 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009008/0.6697, allocations: 0.5126 MB / 1.2 GB, free: 6.547 MB / 0.9512 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.00301/0.6728, allocations: 2.313 MB / 1.202 GB, free: 4.062 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005036/0.6733, allocations: 250.8 kB / 1.203 GB, free: 3.809 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002434/0.6735, allocations: 137.6 kB / 1.203 GB, free: 3.672 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.6736, allocations: 4 kB / 1.203 GB, free: 3.668 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.6736, allocations: 46.48 kB / 1.203 GB, free: 3.613 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=20): time 1.563e-06/0.6736, allocations: 0 / 1.203 GB, free: 3.613 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20): time 0.001574/0.6752, allocations: 0.6741 MB / 1.203 GB, free: 2.891 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.6752, allocations: 77.11 kB / 1.204 GB, free: 2.797 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005791/0.6758, allocations: 0.5574 MB / 1.204 GB, free: 2.227 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.6759, allocations: 33.7 kB / 1.204 GB, free: 2.188 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002039/0.6761, allocations: 331.1 kB / 1.204 GB, free: 1.859 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.022e-05/0.6761, allocations: 75 kB / 1.205 GB, free: 1.785 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/0.6763, allocations: 73.88 kB / 1.205 GB, free: 1.707 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.6764, allocations: 366.7 kB / 1.205 GB, free: 1.34 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002558/0.6766, allocations: 128.6 kB / 1.205 GB, free: 1.215 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002934/0.6769, allocations: 210.7 kB / 1.205 GB, free: 0.9766 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005225/0.6775, allocations: 332.4 kB / 1.206 GB, free: 0.6211 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.6775, allocations: 0 / 1.206 GB, free: 0.6211 MB / 0.9512 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008877/0.6784, allocations: 0.4948 MB / 1.206 GB, free: 116 kB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.6784, allocations: 4 kB / 1.206 GB, free: 112 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.6784, allocations: 4 kB / 1.206 GB, free: 108 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002893/0.6787, allocations: 89.64 kB / 1.206 GB, free: 12 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003377/0.6791, allocations: 79.91 kB / 1.206 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002687/0.6818, allocations: 3.352 MB / 1.21 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004415/0.6822, allocations: 47.45 kB / 1.21 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.568e-05/0.6822, allocations: 12 kB / 1.21 GB, free: 12.25 MB / 0.9669 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.0002211/0.6825, allocations: 217.8 kB / 1.21 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.936e-05/0.6826, allocations: 55.34 kB / 1.21 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.311e-05/0.6827, allocations: 60.69 kB / 1.21 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.6827, allocations: 3.938 kB / 1.21 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.6827, allocations: 7.938 kB / 1.21 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006808/0.6834, allocations: 0.5323 MB / 1.21 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.6845, allocations: 0.9157 MB / 1.211 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.6846, allocations: 0 / 1.211 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002151/0.6848, allocations: 43.97 kB / 1.211 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001935/0.685, allocations: 68.88 kB / 1.211 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.685, allocations: 0 / 1.211 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001557/0.6866, allocations: 1.828 MB / 1.213 GB, free: 8.234 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.6866, allocations: 0 / 1.213 GB, free: 8.234 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005939/0.6872, allocations: 441.3 kB / 1.214 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001929/0.6874, allocations: 164.6 kB / 1.214 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.614e-05/0.6875, allocations: 15.94 kB / 1.214 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004383/0.6879, allocations: 16.55 kB / 1.214 GB, free: 7.566 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.698e-05/0.688, allocations: 27.91 kB / 1.214 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.685e-05/0.688, allocations: 12 kB / 1.214 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004109/0.6885, allocations: 398.8 kB / 1.214 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6885, allocations: 0 / 1.214 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0005544/0.689, allocations: 207.6 kB / 1.214 GB, free: 6.938 MB / 0.9669 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.001051/0.6901, allocations: 1.028 MB / 1.215 GB, free: 5.883 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0008252/0.6909, allocations: 0.5439 MB / 1.216 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.6909, allocations: 4 kB / 1.216 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003422/0.6913, allocations: 250.5 kB / 1.216 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001602/0.6929, allocations: 374.7 kB / 1.217 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005449/0.6984, allocations: 4.549 MB / 1.221 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000427/0.6988, allocations: 0.9053 MB / 1.222 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0004236/0.6992, allocations: 116.8 kB / 1.222 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002271/0.6995, allocations: 191.4 kB / 1.222 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of SimCode: time 1.473e-06/0.6995, allocations: 0 / 1.222 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03831/0.7378, allocations: 17.65 MB / 1.239 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.42/11.16, allocations: 10.75 kB / 1.239 GB, free: 13.45 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches