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.003903/0.003903, allocations: 99.33 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.0009826/0.0009826, allocations: 194.5 kB / 16.67 MB, free: 6.348 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.285/1.285, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.455/2.455, allocations: 437 MB / 0.7105 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 63.89 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2479, allocations: 151.6 MB / 1.166 GB, free: 7.301 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.6882/0.9362, allocations: 171.1 MB / 1.333 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.006549/0.9427, allocations: 4.296 MB / 1.337 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007058/0.9435, allocations: 22.88 kB / 1.337 GB, free: 13.76 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0009992/0.9445, allocations: 363 kB / 1.338 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.003013/0.9475, allocations: 1.262 MB / 1.339 GB, free: 12.87 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002002/0.9495, allocations: 0.8058 MB / 1.34 GB, free: 12.44 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002111/0.9517, allocations: 1.7 MB / 1.341 GB, free: 11.66 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007475/0.9524, allocations: 0.5594 MB / 1.342 GB, free: 11.42 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001198/0.9536, allocations: 0.7134 MB / 1.343 GB, free: 11.09 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001114/0.9548, allocations: 0.5487 MB / 1.343 GB, free: 10.86 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001172/0.9549, allocations: 64.44 kB / 1.343 GB, free: 10.86 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001643/0.9565, allocations: 0.8 MB / 1.344 GB, free: 10.55 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002843/0.9568, allocations: 281.5 kB / 1.344 GB, free: 10.43 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004688/0.9573, allocations: 400.4 kB / 1.345 GB, free: 10.21 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001675/0.959, allocations: 1.27 MB / 1.346 GB, free: 9.766 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.959, allocations: 3.938 kB / 1.346 GB, free: 9.762 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.232e-06/0.959, allocations: 0 / 1.346 GB, free: 9.762 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.22e-05/0.959, allocations: 0 / 1.346 GB, free: 9.762 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.001816/0.9609, allocations: 1.057 MB / 1.347 GB, free: 9.016 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.9609, allocations: 9.031 kB / 1.347 GB, free: 9.016 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001154/0.961, allocations: 99.02 kB / 1.347 GB, free: 8.941 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001001/0.962, allocations: 167.5 kB / 1.347 GB, free: 8.891 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009/0.963, allocations: 0.55 MB / 1.348 GB, free: 8.508 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.405e-05/0.963, allocations: 38.97 kB / 1.348 GB, free: 8.492 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.362e-05/0.9631, allocations: 50.28 kB / 1.348 GB, free: 8.477 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/0.9642, allocations: 0.6619 MB / 1.349 GB, free: 8.191 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.9642, allocations: 0 / 1.349 GB, free: 8.191 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.032e-05/0.9643, allocations: 26.94 kB / 1.349 GB, free: 8.172 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-05/0.9643, allocations: 20.91 kB / 1.349 GB, free: 8.168 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009301/0.9652, allocations: 0.5113 MB / 1.349 GB, free: 8.008 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.003217/0.9685, allocations: 2.293 MB / 1.351 GB, free: 6.484 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005116/0.969, allocations: 258.2 kB / 1.352 GB, free: 6.379 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002392/0.9692, allocations: 135.6 kB / 1.352 GB, free: 6.328 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.413e-05/0.9693, allocations: 9.625 kB / 1.352 GB, free: 6.324 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.9693, allocations: 37.16 kB / 1.352 GB, free: 6.281 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.563e-06/0.9693, allocations: 4 kB / 1.352 GB, free: 6.277 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.001601/0.9709, allocations: 0.6661 MB / 1.352 GB, free: 5.902 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.971, allocations: 82.45 kB / 1.352 GB, free: 5.805 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006313/0.9716, allocations: 0.564 MB / 1.353 GB, free: 5.547 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.344e-05/0.9717, allocations: 32.67 kB / 1.353 GB, free: 5.512 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002266/0.9719, allocations: 344.1 kB / 1.353 GB, free: 5.234 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.154e-05/0.972, allocations: 67.86 kB / 1.353 GB, free: 5.184 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.9721, allocations: 70.34 kB / 1.354 GB, free: 5.141 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.9723, allocations: 362.5 kB / 1.354 GB, free: 4.805 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002595/0.9725, allocations: 129.6 kB / 1.354 GB, free: 4.766 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003056/0.9728, allocations: 219.9 kB / 1.354 GB, free: 4.625 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005261/0.9734, allocations: 330.2 kB / 1.355 GB, free: 4.438 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.9734, allocations: 0.9688 kB / 1.355 GB, free: 4.438 MB / 1.029 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008887/0.9743, allocations: 0.5007 MB / 1.355 GB, free: 4.215 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.9743, allocations: 7.875 kB / 1.355 GB, free: 4.215 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.9743, allocations: 2.531 kB / 1.355 GB, free: 4.215 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002931/0.9746, allocations: 90.02 kB / 1.355 GB, free: 4.184 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003214/0.975, allocations: 73.83 kB / 1.355 GB, free: 4.176 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003037/0.978, allocations: 3.355 MB / 1.358 GB, free: 1.133 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005132/0.9785, allocations: 52.41 kB / 1.358 GB, free: 1.098 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.907e-05/0.9786, allocations: 16.47 kB / 1.359 GB, free: 1.094 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.0002771/0.9789, allocations: 218.8 kB / 1.359 GB, free: 0.9258 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.979, allocations: 55.89 kB / 1.359 GB, free: 0.8984 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.697e-05/0.9791, allocations: 57.11 kB / 1.359 GB, free: 0.8672 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.9791, allocations: 2.156 kB / 1.359 GB, free: 0.8672 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.9791, allocations: 9.625 kB / 1.359 GB, free: 0.8594 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007005/0.9798, allocations: 0.53 MB / 1.359 GB, free: 440 kB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001272/0.9811, allocations: 0.9149 MB / 1.36 GB, free: 15.88 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.9811, allocations: 0 / 1.36 GB, free: 15.88 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002094/0.9813, allocations: 43.41 kB / 1.36 GB, free: 15.88 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001874/0.9815, allocations: 63.08 kB / 1.36 GB, free: 15.86 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.063e-05/0.9815, allocations: 8.188 kB / 1.36 GB, free: 15.86 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001612/0.9832, allocations: 1.822 MB / 1.362 GB, free: 14.27 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.9832, allocations: 5.406 kB / 1.362 GB, free: 14.27 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006091/0.9838, allocations: 444.6 kB / 1.363 GB, free: 14 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002623/0.9841, allocations: 169.2 kB / 1.363 GB, free: 13.86 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.78e-05/0.9841, allocations: 15.8 kB / 1.363 GB, free: 13.84 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004221/0.9846, allocations: 21.45 kB / 1.363 GB, free: 13.84 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.823e-05/0.9846, allocations: 19.52 kB / 1.363 GB, free: 13.84 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.264e-05/0.9847, allocations: 13.94 kB / 1.363 GB, free: 13.83 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004296/0.9851, allocations: 396.6 kB / 1.363 GB, free: 13.66 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9851, allocations: 1.031 kB / 1.363 GB, free: 13.66 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0006765/0.9858, allocations: 206.3 kB / 1.363 GB, free: 13.62 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.001129/0.987, allocations: 1.039 MB / 1.364 GB, free: 12.78 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000872/0.9878, allocations: 0.5262 MB / 1.365 GB, free: 12.41 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.9879, allocations: 1.469 kB / 1.365 GB, free: 12.41 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.00036/0.9882, allocations: 257.9 kB / 1.365 GB, free: 12.22 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001649/0.9899, allocations: 379.8 kB / 1.366 GB, free: 12.02 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005944/0.9958, allocations: 4.463 MB / 1.37 GB, free: 9.039 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005033/0.9964, allocations: 0.9106 MB / 1.371 GB, free: 8.23 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0004179/0.9968, allocations: 105.3 kB / 1.371 GB, free: 8.184 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002537/0.997, allocations: 194.9 kB / 1.371 GB, free: 8.027 MB / 1.045 GB Notification: Performance of SimCode: time 4.91e-07/0.9971, allocations: 0 / 1.371 GB, free: 8.027 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04164/1.039, allocations: 17.8 MB / 1.388 GB, free: 15.38 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/12.57, allocations: 13.53 kB / 1.388 GB, free: 15.37 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