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.001529/0.001529, allocations: 108 kB / 15.61 MB, free: 152 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.001817/0.001817, allocations: 195.3 kB / 16.53 MB, free: 6.664 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.308/1.308, 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 9.1.3-maint.9.1.x/package.mo): time 2.313/2.313, allocations: 390.3 MB / 0.6647 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 67.89 kB / 0.8126 GB, free: 14.4 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5766/0.578, allocations: 140.4 MB / 0.9497 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.169/0.747, allocations: 171.1 MB / 1.117 GB, free: 6.184 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.006345/0.7534, allocations: 4.294 MB / 1.121 GB, free: 1.875 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007389/0.7541, allocations: 15.94 kB / 1.121 GB, free: 1.859 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001044/0.7552, allocations: 361.9 kB / 1.121 GB, free: 1.504 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003013/0.7583, allocations: 1.217 MB / 1.123 GB, free: 288 kB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001881/0.7602, allocations: 0.7921 MB / 1.123 GB, free: 15.49 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001976/0.7622, allocations: 1.695 MB / 1.125 GB, free: 13.79 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008033/0.763, allocations: 0.5581 MB / 1.125 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001176/0.7642, allocations: 0.6732 MB / 1.126 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001228/0.7654, allocations: 0.553 MB / 1.127 GB, free: 12 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001454/0.7656, allocations: 68 kB / 1.127 GB, free: 11.94 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00144/0.767, allocations: 0.799 MB / 1.128 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.00029/0.7673, allocations: 267.3 kB / 1.128 GB, free: 10.88 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.000546/0.7679, allocations: 406.3 kB / 1.128 GB, free: 10.48 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001573/0.7694, allocations: 1.25 MB / 1.129 GB, free: 9.223 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.7695, allocations: 0 / 1.129 GB, free: 9.223 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7695, allocations: 3.938 kB / 1.129 GB, free: 9.219 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.977e-05/0.7695, allocations: 4 kB / 1.129 GB, free: 9.215 MB / 0.8887 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.001866/0.7714, allocations: 1.044 MB / 1.13 GB, free: 8.121 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.7714, allocations: 12.03 kB / 1.13 GB, free: 8.109 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001227/0.7715, allocations: 94.52 kB / 1.131 GB, free: 8.008 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001039/0.7726, allocations: 167 kB / 1.131 GB, free: 7.844 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007989/0.7734, allocations: 0.5133 MB / 1.131 GB, free: 7.289 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.24e-05/0.7735, allocations: 49.31 kB / 1.131 GB, free: 7.238 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.61e-05/0.7735, allocations: 48 kB / 1.131 GB, free: 7.191 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001217/0.7748, allocations: 0.6479 MB / 1.132 GB, free: 6.527 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.7748, allocations: 0 / 1.132 GB, free: 6.527 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.655e-05/0.7749, allocations: 31.98 kB / 1.132 GB, free: 6.496 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.197e-05/0.7749, allocations: 25.3 kB / 1.132 GB, free: 6.473 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009481/0.7759, allocations: 0.5164 MB / 1.132 GB, free: 5.957 MB / 0.8887 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.003481/0.7794, allocations: 2.313 MB / 1.135 GB, free: 3.477 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005445/0.7799, allocations: 260.3 kB / 1.135 GB, free: 3.215 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002471/0.7802, allocations: 140.7 kB / 1.135 GB, free: 3.074 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/0.7802, allocations: 4 kB / 1.135 GB, free: 3.07 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.841e-05/0.7803, allocations: 42.5 kB / 1.135 GB, free: 3.02 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=20): time 1.533e-06/0.7803, allocations: 0 / 1.135 GB, free: 3.02 MB / 0.8887 GB Notification: Performance of matching and sorting (n=20): time 0.001693/0.782, allocations: 0.6703 MB / 1.136 GB, free: 2.301 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.782, allocations: 77.11 kB / 1.136 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006285/0.7827, allocations: 0.5574 MB / 1.136 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.775e-05/0.7827, allocations: 33.7 kB / 1.136 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002261/0.7829, allocations: 339.1 kB / 1.137 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 6.216e-05/0.783, allocations: 67.02 kB / 1.137 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.7831, allocations: 69.94 kB / 1.137 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.7833, allocations: 366.7 kB / 1.137 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002556/0.7835, allocations: 128.6 kB / 1.137 GB, free: 0.6289 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000304/0.7838, allocations: 222.5 kB / 1.138 GB, free: 388 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005145/0.7844, allocations: 336.9 kB / 1.138 GB, free: 20 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.7844, allocations: 0 / 1.138 GB, free: 20 kB / 0.8887 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009319/0.7853, allocations: 0.4948 MB / 1.138 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.7853, allocations: 4 kB / 1.138 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.7854, allocations: 4 kB / 1.138 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003016/0.7857, allocations: 85.66 kB / 1.138 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003462/0.786, allocations: 79.92 kB / 1.139 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002977/0.789, allocations: 3.332 MB / 1.142 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004905/0.7895, allocations: 59.36 kB / 1.142 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.466e-05/0.7896, allocations: 12 kB / 1.142 GB, free: 11.65 MB / 0.9044 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.0002613/0.7898, allocations: 213.8 kB / 1.142 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.7899, allocations: 59.34 kB / 1.142 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.589e-05/0.79, allocations: 56.5 kB / 1.142 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.79, allocations: 3.938 kB / 1.142 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.7901, allocations: 3.938 kB / 1.142 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007077/0.7908, allocations: 0.5365 MB / 1.143 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001241/0.792, allocations: 0.9199 MB / 1.144 GB, free: 9.719 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.792, allocations: 4 kB / 1.144 GB, free: 9.715 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002216/0.7923, allocations: 39.97 kB / 1.144 GB, free: 9.676 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001938/0.7925, allocations: 64.88 kB / 1.144 GB, free: 9.609 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.7925, allocations: 7.984 kB / 1.144 GB, free: 9.602 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001617/0.7941, allocations: 1.825 MB / 1.146 GB, free: 7.637 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.7941, allocations: 0 / 1.146 GB, free: 7.637 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006254/0.7948, allocations: 441.3 kB / 1.146 GB, free: 7.18 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002142/0.795, allocations: 160.5 kB / 1.146 GB, free: 7.004 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.101e-05/0.7951, allocations: 11.94 kB / 1.146 GB, free: 6.992 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004491/0.7955, allocations: 15.98 kB / 1.146 GB, free: 6.977 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.936e-05/0.7956, allocations: 27.88 kB / 1.146 GB, free: 6.949 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-05/0.7957, allocations: 19.98 kB / 1.146 GB, free: 6.93 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004361/0.7961, allocations: 394.8 kB / 1.147 GB, free: 6.547 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7961, allocations: 0 / 1.147 GB, free: 6.547 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0006228/0.7968, allocations: 203.7 kB / 1.147 GB, free: 6.348 MB / 0.9044 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.001121/0.7979, allocations: 1.035 MB / 1.148 GB, free: 5.293 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0008837/0.7988, allocations: 0.548 MB / 1.148 GB, free: 4.719 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.7988, allocations: 0 / 1.148 GB, free: 4.719 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003552/0.7992, allocations: 246.6 kB / 1.149 GB, free: 4.465 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001688/0.8009, allocations: 368.6 kB / 1.149 GB, free: 4.105 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005721/0.8066, allocations: 4.559 MB / 1.153 GB, free: 15.39 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004328/0.807, allocations: 0.9054 MB / 1.154 GB, free: 14.46 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0004534/0.8075, allocations: 104.8 kB / 1.154 GB, free: 14.36 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002402/0.8077, allocations: 195.4 kB / 1.154 GB, free: 14.17 MB / 0.92 GB Notification: Performance of SimCode: time 2.71e-07/0.8078, allocations: 4 kB / 1.154 GB, free: 14.16 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0441/0.8519, allocations: 17.63 MB / 1.172 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/12.01, allocations: 7.938 kB / 1.172 GB, free: 12.89 MB / 0.9356 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