Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.349/2.349, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001507/0.001507, allocations: 174.2 kB / 498.1 MB, free: 5.746 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.626/1.626, allocations: 223.2 MB / 0.7948 GB, free: 17.83 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.0009797/0.0009798, allocations: 96.31 kB / 0.9346 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004217/0.0004218, allocations: 18.98 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3314, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.899/5.23, allocations: 1.919 GB / 3.142 GB, free: 68.07 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003346/5.231, allocations: 93.73 kB / 3.142 GB, free: 68.02 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.544/6.774, allocations: 466.4 MB / 3.598 GB, free: 75.33 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.442e-06/6.774, allocations: 0 / 3.598 GB, free: 75.33 MB / 1.167 GB Notification: Performance of Transformations before backend: time 8.392e-05/6.774, allocations: 27.98 kB / 3.598 GB, free: 75.3 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002878/6.777, allocations: 1.39 MB / 3.599 GB, free: 73.86 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/6.777, allocations: 16.02 kB / 3.599 GB, free: 73.84 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001872/6.779, allocations: 314.3 kB / 3.599 GB, free: 73.54 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001487/6.781, allocations: 0.844 MB / 3.6 GB, free: 72.65 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.109e-05/6.781, allocations: 73.95 kB / 3.6 GB, free: 72.57 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/6.781, allocations: 83.91 kB / 3.6 GB, free: 72.49 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001536/6.782, allocations: 0.9741 MB / 3.601 GB, free: 71.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.503e-05/6.782, allocations: 0 / 3.601 GB, free: 71.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.95e-05/6.782, allocations: 39.98 kB / 3.601 GB, free: 71.46 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.912e-05/6.782, allocations: 34 kB / 3.601 GB, free: 71.43 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/6.784, allocations: 0.8003 MB / 3.602 GB, free: 70.63 MB / 1.167 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.004624/6.788, allocations: 3.474 MB / 3.606 GB, free: 66.93 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000622/6.789, allocations: 487.2 kB / 3.606 GB, free: 66.45 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002194/6.789, allocations: 101.5 kB / 3.606 GB, free: 66.34 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/6.789, allocations: 47 kB / 3.606 GB, free: 66.28 MB / 1.167 GB Notification: Performance of pre-optimization done (n=47): time 2.776e-06/6.789, allocations: 0 / 3.606 GB, free: 66.28 MB / 1.167 GB Notification: Performance of matching and sorting (n=49): time 0.003717/6.793, allocations: 1.888 MB / 3.608 GB, free: 64.29 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/6.793, allocations: 55.84 kB / 3.608 GB, free: 64.23 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007702/6.794, allocations: 0.7075 MB / 3.609 GB, free: 63.51 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.975e-05/6.794, allocations: 37.7 kB / 3.609 GB, free: 63.47 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000271/6.794, allocations: 475.3 kB / 3.609 GB, free: 63 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/6.794, allocations: 177.5 kB / 3.609 GB, free: 62.82 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.828e-05/6.794, allocations: 8 kB / 3.609 GB, free: 62.82 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.97e-05/6.794, allocations: 334 kB / 3.61 GB, free: 62.48 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003502/6.795, allocations: 233.2 kB / 3.61 GB, free: 62.26 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004008/6.795, allocations: 355 kB / 3.61 GB, free: 61.87 MB / 1.167 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00259/6.798, allocations: 0.9919 MB / 3.611 GB, free: 60.86 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/6.798, allocations: 0 / 3.611 GB, free: 60.86 MB / 1.167 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001132/6.799, allocations: 0.7653 MB / 3.612 GB, free: 60.08 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/6.799, allocations: 12 kB / 3.612 GB, free: 60.07 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/6.799, allocations: 0 / 3.612 GB, free: 60.07 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002718/6.799, allocations: 89.59 kB / 3.612 GB, free: 59.98 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005349/6.8, allocations: 123.9 kB / 3.612 GB, free: 59.86 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002118/6.802, allocations: 2.995 MB / 3.615 GB, free: 56.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/6.803, allocations: 63.86 kB / 3.615 GB, free: 56.54 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.768e-05/6.803, allocations: 24 kB / 3.615 GB, free: 56.51 MB / 1.167 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 65 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0006022/6.804, allocations: 301.6 kB / 3.616 GB, free: 56.21 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/6.804, allocations: 98.94 kB / 3.616 GB, free: 56.11 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001613/6.804, allocations: 104.7 kB / 3.616 GB, free: 56 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/6.804, allocations: 7.953 kB / 3.616 GB, free: 56 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/6.804, allocations: 0 / 3.616 GB, free: 56 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008327/6.805, allocations: 0.8271 MB / 3.617 GB, free: 55.08 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002454/6.807, allocations: 1.731 MB / 3.618 GB, free: 53.25 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/6.807, allocations: 0 / 3.618 GB, free: 53.25 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000476/6.808, allocations: 107.9 kB / 3.618 GB, free: 53.14 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002083/6.808, allocations: 61.22 kB / 3.618 GB, free: 53.08 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.195e-05/6.808, allocations: 20 kB / 3.618 GB, free: 53.06 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001191/6.809, allocations: 1.62 MB / 3.62 GB, free: 51.31 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/6.809, allocations: 4 kB / 3.62 GB, free: 51.31 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001317/6.811, allocations: 1.184 MB / 3.621 GB, free: 49.98 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004578/6.811, allocations: 231.9 kB / 3.621 GB, free: 49.73 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.818e-05/6.811, allocations: 24 kB / 3.621 GB, free: 49.71 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007251/6.812, allocations: 59.89 kB / 3.621 GB, free: 49.65 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/6.812, allocations: 39.89 kB / 3.621 GB, free: 49.61 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.685e-05/6.812, allocations: 27.98 kB / 3.622 GB, free: 49.59 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.000677/6.813, allocations: 0.5576 MB / 3.622 GB, free: 49.04 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.31e-07/6.813, allocations: 0 / 3.622 GB, free: 49.04 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001403/6.814, allocations: 404 kB / 3.622 GB, free: 48.64 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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 (45): * Single equations (assignments): 44 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001738/6.816, allocations: 1.265 MB / 3.624 GB, free: 47.34 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001218/6.817, allocations: 0.7843 MB / 3.624 GB, free: 46.52 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/6.817, allocations: 0 / 3.624 GB, free: 46.52 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004694/6.818, allocations: 395.9 kB / 3.625 GB, free: 46.12 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00243/6.82, allocations: 0.5686 MB / 3.625 GB, free: 45.56 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002741/6.823, allocations: 2.167 MB / 3.627 GB, free: 43.32 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005027/6.823, allocations: 1.107 MB / 3.629 GB, free: 42.18 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0009001/6.824, allocations: 215.7 kB / 3.629 GB, free: 41.97 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/6.824, allocations: 63.44 kB / 3.629 GB, free: 41.91 MB / 1.167 GB Notification: Performance of SimCode: time 1.643e-06/6.824, allocations: 0 / 3.629 GB, free: 41.91 MB / 1.167 GB Notification: Performance of Templates: time 0.04656/6.871, allocations: 33.85 MB / 3.662 GB, free: 8.301 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches