Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.T_start|vol1.T|vol1.ports.1..h_outflow|vol1.ports.2..h_outflow|pipe1.port_b.h_outflow",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.T_start|vol1.T|vol1.ports.1..h_outflow|vol1.ports.2..h_outflow|pipe1.port_b.h_outflow",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.396/2.396, allocations: 387.1 MB / 399.7 MB, free: 9.488 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000996/0.000996, allocations: 180.9 kB / 492.3 MB, free: 0.6055 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 221.3 MB / 0.7871 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008998/0.0008999, allocations: 91.95 kB / 0.9267 GB, free: 14.04 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.362e-05/4.365e-05, allocations: 7.984 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3272, allocations: 142.3 MB / 1.212 GB, free: 38.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.285/6.612, allocations: 1.949 GB / 3.161 GB, free: 321.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002566/6.612, allocations: 92.97 kB / 3.161 GB, free: 321.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.807/8.42, allocations: 477.3 MB / 3.627 GB, free: 288.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.423e-06/8.42, allocations: 3.438 kB / 3.627 GB, free: 288.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.283e-05/8.42, allocations: 32.31 kB / 3.627 GB, free: 288.1 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.004131/8.424, allocations: 1.475 MB / 3.629 GB, free: 287.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/8.424, allocations: 10.56 kB / 3.629 GB, free: 287.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001874/8.426, allocations: 290.9 kB / 3.629 GB, free: 287.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001823/8.428, allocations: 0.837 MB / 3.63 GB, free: 286.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.405e-05/8.428, allocations: 52.84 kB / 3.63 GB, free: 286.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/8.428, allocations: 70.36 kB / 3.63 GB, free: 286.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001655/8.43, allocations: 0.9632 MB / 3.631 GB, free: 286.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/8.43, allocations: 0 / 3.631 GB, free: 286.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-05/8.43, allocations: 28.61 kB / 3.631 GB, free: 286.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.266e-05/8.43, allocations: 73.66 kB / 3.631 GB, free: 286.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001452/8.432, allocations: 0.9612 MB / 3.632 GB, free: 285.9 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.005984/8.438, allocations: 3.594 MB / 3.636 GB, free: 283.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009852/8.439, allocations: 0.6465 MB / 3.636 GB, free: 283.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004851/8.439, allocations: 366 kB / 3.637 GB, free: 283.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002569/8.439, allocations: 194.4 kB / 3.637 GB, free: 283.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/8.439, allocations: 50.31 kB / 3.637 GB, free: 283 MB / 1.151 GB Notification: Performance of pre-optimization done (n=62): time 2.645e-06/8.439, allocations: 0 / 3.637 GB, free: 283 MB / 1.151 GB Notification: Performance of matching and sorting (n=62): time 0.001441/8.441, allocations: 0.7308 MB / 3.637 GB, free: 282.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.11e-05/8.441, allocations: 107.3 kB / 3.638 GB, free: 282.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008071/8.442, allocations: 0.6979 MB / 3.638 GB, free: 282.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.879e-05/8.442, allocations: 41.58 kB / 3.638 GB, free: 282.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002446/8.442, allocations: 427.3 kB / 3.639 GB, free: 281.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001707/8.442, allocations: 218 kB / 3.639 GB, free: 281.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.776e-05/8.442, allocations: 11.47 kB / 3.639 GB, free: 281.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.694e-05/8.442, allocations: 333.7 kB / 3.639 GB, free: 281.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004221/8.443, allocations: 315 kB / 3.64 GB, free: 281.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000486/8.443, allocations: 435.5 kB / 3.64 GB, free: 280.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004989/8.444, allocations: 395.5 kB / 3.64 GB, free: 280.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/8.444, allocations: 0 / 3.64 GB, free: 280.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001228/8.445, allocations: 0.885 MB / 3.641 GB, free: 280.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001707/8.445, allocations: 0.7036 MB / 3.642 GB, free: 279.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/8.445, allocations: 2.188 kB / 3.642 GB, free: 279.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/8.445, allocations: 7.891 kB / 3.642 GB, free: 279.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006577/8.446, allocations: 143 kB / 3.642 GB, free: 279.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.803e-05/8.446, allocations: 7.766 kB / 3.642 GB, free: 279.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/8.447, allocations: 118.3 kB / 3.642 GB, free: 279.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-05/8.447, allocations: 29.69 kB / 3.642 GB, free: 279.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/8.447, allocations: 3.219 kB / 3.642 GB, free: 279.3 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001163/8.448, allocations: 0.7405 MB / 3.643 GB, free: 279 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/8.448, allocations: 7.031 kB / 3.643 GB, free: 279 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.378e-06/8.448, allocations: 3.938 kB / 3.643 GB, free: 279 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006107/8.449, allocations: 149 kB / 3.643 GB, free: 279 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/8.449, allocations: 7.781 kB / 3.643 GB, free: 278.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/8.45, allocations: 98.97 kB / 3.643 GB, free: 278.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.882e-05/8.45, allocations: 28.91 kB / 3.643 GB, free: 278.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002705/8.45, allocations: 142.6 kB / 3.643 GB, free: 278.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002245/8.451, allocations: 96.23 kB / 3.643 GB, free: 278.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001515/8.452, allocations: 0.7914 MB / 3.644 GB, free: 278.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.889e-06/8.452, allocations: 9.156 kB / 3.644 GB, free: 278.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/8.452, allocations: 0 / 3.644 GB, free: 278.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009437/8.453, allocations: 0.7318 MB / 3.645 GB, free: 277.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003783/8.457, allocations: 2.083 MB / 3.647 GB, free: 276.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.685e-06/8.457, allocations: 0 / 3.647 GB, free: 276.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000633/8.458, allocations: 134.1 kB / 3.647 GB, free: 276.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.589e-05/8.458, allocations: 3.844 kB / 3.647 GB, free: 276.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-05/8.458, allocations: 23.2 kB / 3.647 GB, free: 276.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.048e-05/8.458, allocations: 7.922 kB / 3.647 GB, free: 276.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/8.458, allocations: 3.281 kB / 3.647 GB, free: 276.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002046/8.46, allocations: 1.507 MB / 3.649 GB, free: 275.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006509/8.46, allocations: 258.8 kB / 3.649 GB, free: 275.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002459/8.461, allocations: 15.16 kB / 3.649 GB, free: 275.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008736/8.462, allocations: 52.64 kB / 3.649 GB, free: 275.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/8.462, allocations: 45.38 kB / 3.649 GB, free: 275 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.79e-05/8.462, allocations: 31.48 kB / 3.649 GB, free: 275 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.000941/8.463, allocations: 0.5388 MB / 3.65 GB, free: 274.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.11e-07/8.463, allocations: 0 / 3.65 GB, free: 274.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00373/8.466, allocations: 0.9308 MB / 3.65 GB, free: 274.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004486/8.471, allocations: 1.759 MB / 3.652 GB, free: 273.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00245/8.473, allocations: 1.155 MB / 3.653 GB, free: 273.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.165e-05/8.473, allocations: 7.688 kB / 3.653 GB, free: 273.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005711/8.474, allocations: 357 kB / 3.654 GB, free: 272.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002881/8.477, allocations: 0.5057 MB / 3.654 GB, free: 272.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003199/8.48, allocations: 1.489 MB / 3.656 GB, free: 271.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007085/8.481, allocations: 1.098 MB / 3.657 GB, free: 270.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001934/8.483, allocations: 0.4906 MB / 3.657 GB, free: 270.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002564/8.483, allocations: 67.42 kB / 3.657 GB, free: 270.4 MB / 1.151 GB Notification: Performance of SimCode: time 1.072e-06/8.483, allocations: 0 / 3.657 GB, free: 270.4 MB / 1.151 GB Notification: Performance of Templates: time 0.0554/8.539, allocations: 42.13 MB / 3.698 GB, free: 228.5 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.csv","../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches