Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.1..p|vol.2..p|vol.3..p|vol.1..T|vol.2..T|vol.3..T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir") translateModel(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.1..p|vol.2..p|vol.3..p|vol.1..T|vol.2..T|vol.3..T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.456/1.456, allocations: 249.5 MB / 257 MB, free: 6.902 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001039/0.001039, allocations: 184.2 kB / 316.3 MB, free: 3.285 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.857/1.857, allocations: 205.3 MB / 0.5671 GB, free: 15.91 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009544/0.0009544, allocations: 86.42 kB / 0.6714 GB, free: 5.039 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.293e-05/2.295e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3198, allocations: 106.3 MB / 0.8852 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.817/8.137, allocations: 2.442 GB / 3.327 GB, free: 310.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003554/8.137, allocations: 97.39 kB / 3.327 GB, free: 310.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.424/9.561, allocations: 462.3 MB / 3.779 GB, free: 183.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.623e-06/9.561, allocations: 0 / 3.779 GB, free: 183.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001127/9.561, allocations: 35.83 kB / 3.779 GB, free: 183.8 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.002932/9.564, allocations: 1.522 MB / 3.78 GB, free: 182.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/9.564, allocations: 8.031 kB / 3.78 GB, free: 182.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002927/9.567, allocations: 490.8 kB / 3.781 GB, free: 181.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002539/9.57, allocations: 1.322 MB / 3.782 GB, free: 180.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.247e-05/9.57, allocations: 32 kB / 3.782 GB, free: 180.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001408/9.57, allocations: 60 kB / 3.782 GB, free: 180.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001647/9.572, allocations: 1.14 MB / 3.783 GB, free: 179.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001563/9.573, allocations: 1.108 MB / 3.784 GB, free: 178.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.005e-05/9.573, allocations: 3.938 kB / 3.784 GB, free: 178.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.903e-05/9.574, allocations: 0 / 3.784 GB, free: 178.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-05/9.574, allocations: 41.94 kB / 3.784 GB, free: 178 MB / 0.8698 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.005483/9.579, allocations: 4.68 MB / 3.789 GB, free: 173 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009569/9.58, allocations: 0.9128 MB / 3.79 GB, free: 172.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000532/9.581, allocations: 0.531 MB / 3.79 GB, free: 171.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002825/9.581, allocations: 206.9 kB / 3.791 GB, free: 171.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/9.581, allocations: 39.34 kB / 3.791 GB, free: 171.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=78): time 3.516e-06/9.581, allocations: 0 / 3.791 GB, free: 171.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=81): time 0.004284/9.585, allocations: 2.413 MB / 3.793 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.626e-05/9.585, allocations: 60.19 kB / 3.793 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008667/9.586, allocations: 0.7712 MB / 3.794 GB, free: 168 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.543e-05/9.586, allocations: 29.7 kB / 3.794 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002603/9.587, allocations: 0.535 MB / 3.794 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001803/9.587, allocations: 279.8 kB / 3.795 GB, free: 167.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.659e-05/9.587, allocations: 7.938 kB / 3.795 GB, free: 167.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.943e-05/9.587, allocations: 341.9 kB / 3.795 GB, free: 166.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004203/9.587, allocations: 405.3 kB / 3.795 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005215/9.588, allocations: 0.5716 MB / 3.796 GB, free: 165.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005355/9.588, allocations: 0.5235 MB / 3.796 GB, free: 165.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/9.588, allocations: 0 / 3.796 GB, free: 165.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001365/9.59, allocations: 1.136 MB / 3.798 GB, free: 164.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002347/9.59, allocations: 1.058 MB / 3.799 GB, free: 162.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/9.59, allocations: 4 kB / 3.799 GB, free: 162.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002244/9.59, allocations: 72.81 kB / 3.799 GB, free: 162.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009268/9.591, allocations: 187.8 kB / 3.799 GB, free: 162.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001773/9.593, allocations: 2.936 MB / 3.802 GB, free: 159.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00151/9.594, allocations: 123.7 kB / 3.802 GB, free: 159.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.279e-05/9.595, allocations: 35.98 kB / 3.802 GB, free: 159.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.288e-06/9.595, allocations: 4 kB / 3.802 GB, free: 159.4 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001224/9.596, allocations: 1.003 MB / 3.803 GB, free: 158.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/9.596, allocations: 4 kB / 3.803 GB, free: 158.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001619/9.596, allocations: 65 kB / 3.803 GB, free: 158.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000604/9.597, allocations: 183.7 kB / 3.803 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001138/9.598, allocations: 1.736 MB / 3.805 GB, free: 156.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001523/9.599, allocations: 127.7 kB / 3.805 GB, free: 156.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.518e-05/9.599, allocations: 32 kB / 3.805 GB, free: 156.1 MB / 0.8698 GB 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002997/9.6, allocations: 120.8 kB / 3.805 GB, free: 156 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001853/9.6, allocations: 106.7 kB / 3.805 GB, free: 155.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001544/9.601, allocations: 1.098 MB / 3.806 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/9.601, allocations: 8 kB / 3.806 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/9.601, allocations: 0 / 3.806 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001068/9.603, allocations: 1.158 MB / 3.807 GB, free: 153.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003545/9.606, allocations: 2.575 MB / 3.81 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/9.606, allocations: 3.938 kB / 3.81 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009624/9.607, allocations: 243.7 kB / 3.81 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001758/9.607, allocations: 73 kB / 3.81 GB, free: 150.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.851e-05/9.607, allocations: 12 kB / 3.81 GB, free: 150.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001494/9.609, allocations: 2.928 MB / 3.813 GB, free: 147.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.982e-06/9.609, allocations: 7.938 kB / 3.813 GB, free: 147.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002015/9.611, allocations: 1.934 MB / 3.815 GB, free: 145.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006656/9.612, allocations: 331.8 kB / 3.815 GB, free: 145.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001459/9.612, allocations: 7.984 kB / 3.815 GB, free: 145.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/9.613, allocations: 111.6 kB / 3.815 GB, free: 145 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.553e-05/9.613, allocations: 60.59 kB / 3.815 GB, free: 145 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-05/9.613, allocations: 39.98 kB / 3.815 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0007458/9.614, allocations: 0.6011 MB / 3.816 GB, free: 144.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.41e-07/9.614, allocations: 4 kB / 3.816 GB, free: 144.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0022/9.616, allocations: 0.7304 MB / 3.817 GB, free: 143.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (vol[1].dynBal.U,vol[1].dynBal.mXi[1],vol[2].dynBal.U,vol[2].dynBal.mXi[1],vol[3].dynBal.U,vol[3].dynBal.m,vol[3].dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001988/9.618, allocations: 1.496 MB / 3.818 GB, free: 142.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00253/9.62, allocations: 1.782 MB / 3.82 GB, free: 140.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/9.62, allocations: 4.188 kB / 3.82 GB, free: 140.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006702/9.621, allocations: 0.6291 MB / 3.821 GB, free: 139.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003695/9.625, allocations: 0.7508 MB / 3.821 GB, free: 139 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004188/9.629, allocations: 2.574 MB / 3.824 GB, free: 136.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001192/9.63, allocations: 1.466 MB / 3.825 GB, free: 134.9 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.00284/9.633, allocations: 0.9413 MB / 3.826 GB, free: 133.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002976/9.633, allocations: 79.42 kB / 3.826 GB, free: 133.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.022e-06/9.633, allocations: 0 / 3.826 GB, free: 133.8 MB / 0.8698 GB Notification: Performance of Templates: time 0.04911/9.682, allocations: 33.44 MB / 3.859 GB, free: 100.6 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches