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.006649/0.006649, allocations: 98.25 kB / 15.73 MB, free: 6.445 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.001883/0.001883, allocations: 195.8 kB / 16.68 MB, free: 6.352 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 4.285 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.616/2.616, allocations: 437.1 MB / 0.7105 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 71.88 kB / 1.018 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.2687, allocations: 151.6 MB / 1.166 GB, free: 7.336 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.699/0.9677, allocations: 171.1 MB / 1.333 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.007185/0.975, allocations: 4.296 MB / 1.337 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008719/0.9759, allocations: 23.5 kB / 1.337 GB, free: 13.81 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001061/0.977, allocations: 347.3 kB / 1.338 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.003057/0.98, allocations: 1.222 MB / 1.339 GB, free: 12.94 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002046/0.9821, allocations: 0.7968 MB / 1.34 GB, free: 12.52 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.00213/0.9842, allocations: 1.696 MB / 1.341 GB, free: 11.74 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007568/0.985, allocations: 0.5614 MB / 1.342 GB, free: 11.5 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001151/0.9862, allocations: 0.6817 MB / 1.343 GB, free: 11.19 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001114/0.9873, allocations: 0.5541 MB / 1.343 GB, free: 10.96 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001012/0.9874, allocations: 64.78 kB / 1.343 GB, free: 10.96 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001703/0.9891, allocations: 0.7946 MB / 1.344 GB, free: 10.65 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002972/0.9894, allocations: 271.3 kB / 1.344 GB, free: 10.54 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004813/0.9899, allocations: 408.5 kB / 1.345 GB, free: 10.31 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001803/0.9917, allocations: 1.268 MB / 1.346 GB, free: 9.867 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.9917, allocations: 0 / 1.346 GB, free: 9.867 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.353e-06/0.9917, allocations: 0 / 1.346 GB, free: 9.867 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.099e-05/0.9918, allocations: 0.9688 kB / 1.346 GB, free: 9.867 MB / 1.029 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.001852/0.9936, allocations: 1.053 MB / 1.347 GB, free: 9.125 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.9937, allocations: 10.19 kB / 1.347 GB, free: 9.125 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001236/0.9938, allocations: 103 kB / 1.347 GB, free: 9.047 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009814/0.9948, allocations: 163.9 kB / 1.347 GB, free: 9 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008813/0.9957, allocations: 0.554 MB / 1.348 GB, free: 8.613 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.381e-05/0.9957, allocations: 38.91 kB / 1.348 GB, free: 8.598 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.548e-05/0.9958, allocations: 54.34 kB / 1.348 GB, free: 8.578 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001193/0.997, allocations: 0.6518 MB / 1.348 GB, free: 8.301 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.997, allocations: 0 / 1.348 GB, free: 8.301 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.191e-05/0.9971, allocations: 22 kB / 1.348 GB, free: 8.285 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.748e-05/0.9971, allocations: 28.39 kB / 1.348 GB, free: 8.277 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009037/0.9981, allocations: 0.5061 MB / 1.349 GB, free: 8.121 MB / 1.029 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.003212/1.001, allocations: 2.301 MB / 1.351 GB, free: 6.59 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005086/1.002, allocations: 260.2 kB / 1.351 GB, free: 6.484 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002459/1.002, allocations: 136.3 kB / 1.352 GB, free: 6.438 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.889e-05/1.002, allocations: 6.812 kB / 1.352 GB, free: 6.434 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.801e-05/1.002, allocations: 42.38 kB / 1.352 GB, free: 6.387 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.563e-06/1.002, allocations: 0 / 1.352 GB, free: 6.387 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.001685/1.004, allocations: 0.6707 MB / 1.352 GB, free: 6.008 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.585e-05/1.004, allocations: 87.23 kB / 1.352 GB, free: 5.906 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006559/1.005, allocations: 0.5534 MB / 1.353 GB, free: 5.656 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.805e-05/1.005, allocations: 33.52 kB / 1.353 GB, free: 5.621 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002569/1.005, allocations: 345.1 kB / 1.353 GB, free: 5.344 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.058e-05/1.005, allocations: 68.45 kB / 1.353 GB, free: 5.293 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001231/1.005, allocations: 74.14 kB / 1.353 GB, free: 5.246 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001812/1.005, allocations: 362.3 kB / 1.354 GB, free: 4.91 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002654/1.006, allocations: 133.7 kB / 1.354 GB, free: 4.867 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003218/1.006, allocations: 214.8 kB / 1.354 GB, free: 4.73 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005408/1.006, allocations: 329.4 kB / 1.354 GB, free: 4.543 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/1.006, allocations: 0.875 kB / 1.354 GB, free: 4.543 MB / 1.029 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009052/1.007, allocations: 0.5002 MB / 1.355 GB, free: 4.32 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/1.007, allocations: 6.25 kB / 1.355 GB, free: 4.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/1.007, allocations: 3.031 kB / 1.355 GB, free: 4.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003127/1.008, allocations: 93.36 kB / 1.355 GB, free: 4.285 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003062/1.008, allocations: 68.12 kB / 1.355 GB, free: 4.281 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003268/1.011, allocations: 3.352 MB / 1.358 GB, free: 1.238 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004658/1.012, allocations: 48.98 kB / 1.358 GB, free: 1.207 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.026e-05/1.012, allocations: 17.91 kB / 1.358 GB, free: 1.203 MB / 1.029 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.0002676/1.012, allocations: 218.5 kB / 1.359 GB, free: 1.035 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/1.012, allocations: 56.14 kB / 1.359 GB, free: 1.008 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.728e-05/1.012, allocations: 56.05 kB / 1.359 GB, free: 0.9766 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/1.012, allocations: 2.219 kB / 1.359 GB, free: 0.9766 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/1.012, allocations: 7.359 kB / 1.359 GB, free: 0.9727 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007614/1.013, allocations: 0.5288 MB / 1.359 GB, free: 0.543 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001298/1.014, allocations: 0.9198 MB / 1.36 GB, free: 15.99 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/1.014, allocations: 1.469 kB / 1.36 GB, free: 15.99 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002127/1.015, allocations: 42.73 kB / 1.36 GB, free: 15.99 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002186/1.015, allocations: 63.58 kB / 1.36 GB, free: 15.97 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.03e-05/1.015, allocations: 8.672 kB / 1.36 GB, free: 15.96 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001791/1.017, allocations: 1.832 MB / 1.362 GB, free: 14.37 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.017, allocations: 3.172 kB / 1.362 GB, free: 14.37 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006519/1.017, allocations: 437 kB / 1.362 GB, free: 14.11 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002117/1.018, allocations: 176.1 kB / 1.363 GB, free: 13.96 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.021e-05/1.018, allocations: 9 kB / 1.363 GB, free: 13.96 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004137/1.018, allocations: 20.23 kB / 1.363 GB, free: 13.95 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.413e-05/1.018, allocations: 19.25 kB / 1.363 GB, free: 13.95 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.961e-05/1.018, allocations: 15.08 kB / 1.363 GB, free: 13.95 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000454/1.019, allocations: 397.3 kB / 1.363 GB, free: 13.77 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.1e-07/1.019, allocations: 0 / 1.363 GB, free: 13.77 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0006234/1.019, allocations: 203.4 kB / 1.363 GB, free: 13.73 MB / 1.045 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.00129/1.021, allocations: 1.039 MB / 1.364 GB, free: 12.87 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0009084/1.022, allocations: 0.5226 MB / 1.365 GB, free: 12.5 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/1.022, allocations: 1.406 kB / 1.365 GB, free: 12.5 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003852/1.022, allocations: 266.5 kB / 1.365 GB, free: 12.3 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001565/1.024, allocations: 367.1 kB / 1.365 GB, free: 12.12 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00586/1.029, allocations: 4.469 MB / 1.37 GB, free: 9.125 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005543/1.03, allocations: 0.9106 MB / 1.371 GB, free: 8.316 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0003874/1.03, allocations: 113.3 kB / 1.371 GB, free: 8.262 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002479/1.031, allocations: 191 kB / 1.371 GB, free: 8.109 MB / 1.045 GB Notification: Performance of SimCode: time 2.4e-07/1.031, allocations: 0 / 1.371 GB, free: 8.109 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04784/1.078, allocations: 17.81 MB / 1.388 GB, free: 15.46 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/13.27, allocations: 15.31 kB / 1.388 GB, free: 15.45 MB / 1.061 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