Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.478/2.478, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001182/0.001183, allocations: 187.5 kB / 0.4902 GB, free: 2.23 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.67/1.67, allocations: 223.2 MB / 0.7992 GB, free: 14.73 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.001201/0.001201, allocations: 107 kB / 0.9396 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003941/0.0003943, allocations: 6.75 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3498/0.3502, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.701/5.051, allocations: 1.95 GB / 3.179 GB, free: 3.578 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/5.052, allocations: 92.39 kB / 3.179 GB, free: 3.527 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.599/7.651, allocations: 477.7 MB / 3.645 GB, free: 296.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.132e-06/7.651, allocations: 0 / 3.645 GB, free: 296.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 8.468e-05/7.651, allocations: 31.64 kB / 3.646 GB, free: 296.2 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.005056/7.656, allocations: 1.625 MB / 3.647 GB, free: 295.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/7.656, allocations: 13.84 kB / 3.647 GB, free: 295.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002004/7.658, allocations: 289.3 kB / 3.647 GB, free: 295.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002212/7.661, allocations: 0.8352 MB / 3.648 GB, free: 295.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.432e-05/7.661, allocations: 59.61 kB / 3.648 GB, free: 295.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001626/7.661, allocations: 64.03 kB / 3.648 GB, free: 295.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002128/7.663, allocations: 0.9782 MB / 3.649 GB, free: 295.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.614e-05/7.663, allocations: 5.312 kB / 3.649 GB, free: 295.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/7.663, allocations: 29.31 kB / 3.649 GB, free: 295.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001558/7.663, allocations: 73.38 kB / 3.649 GB, free: 295.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002071/7.665, allocations: 0.9838 MB / 3.65 GB, free: 295.3 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.007163/7.673, allocations: 3.591 MB / 3.654 GB, free: 294 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001222/7.674, allocations: 0.6531 MB / 3.654 GB, free: 294 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002758/7.674, allocations: 191.9 kB / 3.655 GB, free: 293.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/7.674, allocations: 46.03 kB / 3.655 GB, free: 293.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=62): time 3.257e-06/7.674, allocations: 0 / 3.655 GB, free: 293.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=62): time 0.00225/7.676, allocations: 1.02 MB / 3.656 GB, free: 293.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.816e-05/7.676, allocations: 112.3 kB / 3.656 GB, free: 293.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/7.678, allocations: 0.7047 MB / 3.657 GB, free: 293.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.077e-05/7.678, allocations: 41.39 kB / 3.657 GB, free: 293.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003318/7.678, allocations: 422.7 kB / 3.657 GB, free: 293.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002107/7.678, allocations: 216.1 kB / 3.657 GB, free: 293.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.564e-05/7.678, allocations: 16.62 kB / 3.657 GB, free: 293.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.652e-05/7.678, allocations: 333.5 kB / 3.657 GB, free: 292.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005777/7.679, allocations: 320.2 kB / 3.658 GB, free: 292.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007118/7.68, allocations: 441.3 kB / 3.658 GB, free: 292.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007678/7.68, allocations: 393.7 kB / 3.659 GB, free: 292.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/7.68, allocations: 0.6875 kB / 3.659 GB, free: 292.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001441/7.682, allocations: 0.8929 MB / 3.659 GB, free: 292.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001605/7.682, allocations: 0.7055 MB / 3.66 GB, free: 292 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/7.682, allocations: 2.656 kB / 3.66 GB, free: 292 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/7.682, allocations: 5.062 kB / 3.66 GB, free: 292 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000718/7.683, allocations: 152 kB / 3.66 GB, free: 292 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/7.683, allocations: 6.156 kB / 3.66 GB, free: 292 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001034/7.684, allocations: 114.1 kB / 3.66 GB, free: 291.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.912e-05/7.684, allocations: 27.28 kB / 3.66 GB, free: 291.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.227e-06/7.684, allocations: 7 kB / 3.66 GB, free: 291.9 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001292/7.685, allocations: 0.7512 MB / 3.661 GB, free: 291.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/7.685, allocations: 5.156 kB / 3.661 GB, free: 291.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.306e-06/7.685, allocations: 4.969 kB / 3.661 GB, free: 291.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006698/7.686, allocations: 146.8 kB / 3.661 GB, free: 291.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/7.686, allocations: 6.969 kB / 3.661 GB, free: 291.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008445/7.687, allocations: 113.3 kB / 3.661 GB, free: 291.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.812e-05/7.687, allocations: 24.81 kB / 3.661 GB, free: 291.9 MB / 1.167 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 () * Number of clocked 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.0005523/7.688, allocations: 368.6 kB / 3.662 GB, free: 291.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001733/7.688, allocations: 95.16 kB / 3.662 GB, free: 291.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00144/7.689, allocations: 0.8032 MB / 3.663 GB, free: 291.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/7.689, allocations: 6.25 kB / 3.663 GB, free: 291.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/7.689, allocations: 0 / 3.663 GB, free: 291.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001043/7.69, allocations: 0.7484 MB / 3.663 GB, free: 291.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003391/7.694, allocations: 2.087 MB / 3.665 GB, free: 291 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.774e-06/7.694, allocations: 6.375 kB / 3.665 GB, free: 291 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006909/7.694, allocations: 135 kB / 3.666 GB, free: 291 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.344e-05/7.694, allocations: 6.594 kB / 3.666 GB, free: 291 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.896e-05/7.694, allocations: 18.5 kB / 3.666 GB, free: 291 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-05/7.694, allocations: 12.17 kB / 3.666 GB, free: 291 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/7.694, allocations: 3.875 kB / 3.666 GB, free: 291 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002083/7.697, allocations: 1.517 MB / 3.667 GB, free: 290.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004955/7.697, allocations: 255.8 kB / 3.667 GB, free: 290.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001261/7.697, allocations: 22.22 kB / 3.667 GB, free: 290.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006652/7.698, allocations: 48.19 kB / 3.667 GB, free: 290.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.996e-05/7.698, allocations: 51.84 kB / 3.667 GB, free: 290.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.756e-05/7.698, allocations: 24.27 kB / 3.668 GB, free: 290.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0007843/7.699, allocations: 0.5555 MB / 3.668 GB, free: 290.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 4.01e-07/7.699, allocations: 0 / 3.668 GB, free: 290.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003241/7.702, allocations: 0.925 MB / 3.669 GB, free: 290.2 MB / 1.167 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 () * Number of clocked 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.002997/7.705, allocations: 1.748 MB / 3.671 GB, free: 289.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001739/7.707, allocations: 1.145 MB / 3.672 GB, free: 289.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/7.707, allocations: 0 / 3.672 GB, free: 289.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004443/7.707, allocations: 370.8 kB / 3.672 GB, free: 289.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002176/7.709, allocations: 0.4946 MB / 3.673 GB, free: 289.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002758/7.712, allocations: 2.269 MB / 3.675 GB, free: 288.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005079/7.713, allocations: 1.098 MB / 3.676 GB, free: 288.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001231/7.714, allocations: 414 kB / 3.676 GB, free: 288.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00022/7.714, allocations: 76.78 kB / 3.676 GB, free: 288.1 MB / 1.167 GB Notification: Performance of SimCode: time 1.082e-06/7.714, allocations: 0 / 3.676 GB, free: 288.1 MB / 1.167 GB Notification: Performance of Templates: time 0.05429/7.769, allocations: 36.99 MB / 3.713 GB, free: 287.6 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.csv","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches