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.501/2.501, allocations: 390.5 MB / 398 MB, free: 10.93 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.001536/0.001536, allocations: 184.8 kB / 491.2 MB, free: 1.555 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.873/1.873, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.0011/0.0011, allocations: 91.94 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.477e-05/2.466e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3773, allocations: 143 MB / 1.212 GB, free: 39.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.395/6.773, allocations: 1.949 GB / 3.161 GB, free: 321.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002443/6.773, allocations: 90.14 kB / 3.161 GB, free: 321.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.668/8.441, allocations: 472.1 MB / 3.622 GB, free: 288.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.784e-06/8.441, allocations: 3.906 kB / 3.622 GB, free: 288.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.657e-05/8.441, allocations: 23.91 kB / 3.622 GB, free: 288.2 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.004099/8.445, allocations: 1.483 MB / 3.624 GB, free: 287.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/8.445, allocations: 11.53 kB / 3.624 GB, free: 287.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00175/8.447, allocations: 298.9 kB / 3.624 GB, free: 287.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001792/8.449, allocations: 0.8295 MB / 3.625 GB, free: 286.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.217e-05/8.449, allocations: 26.45 kB / 3.625 GB, free: 286.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/8.449, allocations: 41.06 kB / 3.625 GB, free: 286.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001387/8.45, allocations: 0.8559 MB / 3.626 GB, free: 286.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001344/8.452, allocations: 0.8716 MB / 3.627 GB, free: 286.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.417e-05/8.452, allocations: 0 / 3.627 GB, free: 286.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-05/8.452, allocations: 0 / 3.627 GB, free: 286.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.572e-05/8.452, allocations: 78.5 kB / 3.627 GB, free: 286.2 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.005217/8.457, allocations: 3.417 MB / 3.63 GB, free: 284.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009278/8.458, allocations: 0.8589 MB / 3.631 GB, free: 283.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003793/8.459, allocations: 352.8 kB / 3.631 GB, free: 283.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000225/8.459, allocations: 194.9 kB / 3.631 GB, free: 283.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/8.459, allocations: 41.72 kB / 3.632 GB, free: 283.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=62): time 3.487e-06/8.459, allocations: 3.219 kB / 3.632 GB, free: 283.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=62): time 0.001433/8.46, allocations: 0.7007 MB / 3.632 GB, free: 283 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/8.46, allocations: 111 kB / 3.632 GB, free: 282.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005625/8.461, allocations: 0.5525 MB / 3.633 GB, free: 282.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.925e-05/8.461, allocations: 29.2 kB / 3.633 GB, free: 282.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002053/8.461, allocations: 426.2 kB / 3.633 GB, free: 282.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001824/8.461, allocations: 206 kB / 3.633 GB, free: 282.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.972e-05/8.461, allocations: 0 / 3.633 GB, free: 282.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001259/8.462, allocations: 384.3 kB / 3.634 GB, free: 281.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003602/8.462, allocations: 294.2 kB / 3.634 GB, free: 281.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004212/8.462, allocations: 428.5 kB / 3.635 GB, free: 281.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001322/8.464, allocations: 0.6117 MB / 3.635 GB, free: 281.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-06/8.464, allocations: 3.953 kB / 3.635 GB, free: 281.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001897/8.466, allocations: 1.083 MB / 3.636 GB, free: 280.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001854/8.466, allocations: 0.8822 MB / 3.637 GB, free: 279.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/8.466, allocations: 0 / 3.637 GB, free: 279.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/8.466, allocations: 7 kB / 3.637 GB, free: 279.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006239/8.466, allocations: 146.7 kB / 3.637 GB, free: 279.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/8.466, allocations: 7.062 kB / 3.637 GB, free: 279.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008596/8.467, allocations: 85.78 kB / 3.637 GB, free: 279.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.132e-05/8.467, allocations: 29.42 kB / 3.637 GB, free: 279.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.927e-06/8.467, allocations: 8.438 kB / 3.637 GB, free: 279.7 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001526/8.469, allocations: 0.8825 MB / 3.638 GB, free: 279.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/8.469, allocations: 10.39 kB / 3.638 GB, free: 279.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.873e-06/8.469, allocations: 3.844 kB / 3.638 GB, free: 279.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005775/8.47, allocations: 144.6 kB / 3.638 GB, free: 279.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/8.47, allocations: 15.61 kB / 3.638 GB, free: 279.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007338/8.47, allocations: 69.17 kB / 3.638 GB, free: 279.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.547e-05/8.47, allocations: 30.33 kB / 3.638 GB, free: 279.2 MB / 1.151 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 () * 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.0001531/8.471, allocations: 124.1 kB / 3.639 GB, free: 279.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/8.471, allocations: 82.84 kB / 3.639 GB, free: 279 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00123/8.472, allocations: 0.7182 MB / 3.639 GB, free: 278.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/8.472, allocations: 10.61 kB / 3.639 GB, free: 278.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/8.472, allocations: 0 / 3.639 GB, free: 278.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008482/8.473, allocations: 0.694 MB / 3.64 GB, free: 278.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002675/8.476, allocations: 2.005 MB / 3.642 GB, free: 276.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/8.476, allocations: 7.969 kB / 3.642 GB, free: 276.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005841/8.476, allocations: 135.7 kB / 3.642 GB, free: 276.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.247e-06/8.476, allocations: 7.719 kB / 3.642 GB, free: 276.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.074e-05/8.476, allocations: 7.844 kB / 3.642 GB, free: 276.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.092e-06/8.476, allocations: 3.906 kB / 3.642 GB, free: 276.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/8.476, allocations: 7.906 kB / 3.642 GB, free: 276.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001465/8.478, allocations: 1.41 MB / 3.644 GB, free: 275.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003266/8.478, allocations: 242.2 kB / 3.644 GB, free: 275.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/8.478, allocations: 7.812 kB / 3.644 GB, free: 275.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005712/8.479, allocations: 46.2 kB / 3.644 GB, free: 275.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.403e-05/8.479, allocations: 46.41 kB / 3.644 GB, free: 275.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.192e-05/8.479, allocations: 22.41 kB / 3.644 GB, free: 275.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004346/8.479, allocations: 433.7 kB / 3.644 GB, free: 275.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.7e-07/8.479, allocations: 3.391 kB / 3.644 GB, free: 275.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002942/8.482, allocations: 0.8671 MB / 3.645 GB, free: 275 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.004131/8.486, allocations: 1.917 MB / 3.647 GB, free: 274.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00224/8.489, allocations: 1.054 MB / 3.648 GB, free: 273.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 9.768e-06/8.489, allocations: 0 / 3.648 GB, free: 273.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004284/8.489, allocations: 324.9 kB / 3.648 GB, free: 273.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002429/8.492, allocations: 455.1 kB / 3.649 GB, free: 273.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002636/8.494, allocations: 1.428 MB / 3.65 GB, free: 272.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006156/8.495, allocations: 1.101 MB / 3.651 GB, free: 271.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001417/8.496, allocations: 422 kB / 3.652 GB, free: 271.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001866/8.496, allocations: 57.91 kB / 3.652 GB, free: 271.4 MB / 1.151 GB Notification: Performance of SimCode: time 1.313e-06/8.496, allocations: 0 / 3.652 GB, free: 271.4 MB / 1.151 GB Notification: Performance of Templates: time 0.03884/8.535, allocations: 27.43 MB / 3.679 GB, free: 246.2 MB / 1.151 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