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.451/1.451, allocations: 249.3 MB / 261.8 MB, free: 5.852 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.001068/0.001068, allocations: 189.5 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.701/1.701, allocations: 205.2 MB / 0.572 GB, free: 10.7 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.0009762/0.0009758, allocations: 102.5 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.573e-05/4.576e-05, allocations: 4 kB / 0.7879 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.249, allocations: 106.3 MB / 0.8918 GB, free: 6.688 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.646/7.895, allocations: 2.442 GB / 3.334 GB, free: 224.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002937/7.895, allocations: 95.56 kB / 3.334 GB, free: 224.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.537/9.432, allocations: 467.7 MB / 3.79 GB, free: 101.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 8.91e-07/9.432, allocations: 4 kB / 3.79 GB, free: 101.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001127/9.432, allocations: 43.92 kB / 3.79 GB, free: 101.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.002885/9.435, allocations: 1.515 MB / 3.792 GB, free: 100.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/9.435, allocations: 8.031 kB / 3.792 GB, free: 100.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002778/9.438, allocations: 489.7 kB / 3.792 GB, free: 99.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002246/9.44, allocations: 1.323 MB / 3.794 GB, free: 98.34 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.028e-05/9.44, allocations: 78 kB / 3.794 GB, free: 98.26 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001588/9.44, allocations: 104 kB / 3.794 GB, free: 98.16 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001888/9.442, allocations: 1.253 MB / 3.795 GB, free: 96.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.7e-05/9.442, allocations: 4 kB / 3.795 GB, free: 96.89 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/9.442, allocations: 44 kB / 3.795 GB, free: 96.85 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-05/9.442, allocations: 38 kB / 3.795 GB, free: 96.82 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001509/9.444, allocations: 1.183 MB / 3.796 GB, free: 95.63 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.005198/9.449, allocations: 4.89 MB / 3.801 GB, free: 90.36 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/9.45, allocations: 0.9544 MB / 3.802 GB, free: 89.39 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005575/9.451, allocations: 0.5561 MB / 3.803 GB, free: 88.84 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002734/9.451, allocations: 208.1 kB / 3.803 GB, free: 88.59 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/9.451, allocations: 43.34 kB / 3.803 GB, free: 88.54 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=78): time 3.066e-06/9.451, allocations: 0 / 3.803 GB, free: 88.54 MB / 0.8698 GB Notification: Performance of matching and sorting (n=81): time 0.004291/9.455, allocations: 2.527 MB / 3.805 GB, free: 85.96 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/9.455, allocations: 60.19 kB / 3.805 GB, free: 85.88 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009022/9.456, allocations: 0.8671 MB / 3.806 GB, free: 84.99 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.519e-05/9.456, allocations: 49.7 kB / 3.806 GB, free: 84.94 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002598/9.457, allocations: 0.5391 MB / 3.807 GB, free: 84.39 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001849/9.457, allocations: 287.8 kB / 3.807 GB, free: 84.11 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.692e-05/9.457, allocations: 16 kB / 3.807 GB, free: 84.09 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.734e-05/9.457, allocations: 338 kB / 3.807 GB, free: 83.75 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004563/9.457, allocations: 417.3 kB / 3.808 GB, free: 83.35 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005616/9.458, allocations: 0.5965 MB / 3.808 GB, free: 82.69 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005806/9.459, allocations: 0.5251 MB / 3.809 GB, free: 82.16 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/9.459, allocations: 8 kB / 3.809 GB, free: 82.16 MB / 0.8698 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001439/9.46, allocations: 1.191 MB / 3.81 GB, free: 80.95 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002106/9.46, allocations: 1.054 MB / 3.811 GB, free: 79.82 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.769e-06/9.46, allocations: 4 kB / 3.811 GB, free: 79.82 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002246/9.461, allocations: 72.81 kB / 3.811 GB, free: 79.74 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00089/9.461, allocations: 187.6 kB / 3.811 GB, free: 79.56 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001728/9.463, allocations: 2.987 MB / 3.814 GB, free: 76.39 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001424/9.465, allocations: 155.8 kB / 3.814 GB, free: 76.24 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.176e-05/9.465, allocations: 28 kB / 3.814 GB, free: 76.21 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.718e-06/9.465, allocations: 4 kB / 3.814 GB, free: 76.21 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001295/9.466, allocations: 1.081 MB / 3.815 GB, free: 75.12 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/9.466, allocations: 4 kB / 3.815 GB, free: 75.12 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001618/9.466, allocations: 68.81 kB / 3.816 GB, free: 75.05 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006017/9.467, allocations: 175.7 kB / 3.816 GB, free: 74.88 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001146/9.468, allocations: 1.807 MB / 3.817 GB, free: 72.94 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001407/9.469, allocations: 139.7 kB / 3.818 GB, free: 72.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.845e-05/9.469, allocations: 35.98 kB / 3.818 GB, free: 72.77 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.0002473/9.47, allocations: 148.8 kB / 3.818 GB, free: 72.61 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001783/9.47, allocations: 126.5 kB / 3.818 GB, free: 72.49 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001649/9.472, allocations: 1.16 MB / 3.819 GB, free: 71.31 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/9.472, allocations: 8 kB / 3.819 GB, free: 71.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/9.472, allocations: 192 / 3.819 GB, free: 71.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001163/9.473, allocations: 1.216 MB / 3.82 GB, free: 70.02 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003677/9.476, allocations: 2.78 MB / 3.823 GB, free: 67.15 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/9.476, allocations: 0 / 3.823 GB, free: 67.15 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009349/9.477, allocations: 239.7 kB / 3.823 GB, free: 66.92 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001766/9.478, allocations: 68.81 kB / 3.823 GB, free: 66.85 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.198e-05/9.478, allocations: 27.98 kB / 3.823 GB, free: 66.82 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001443/9.479, allocations: 2.983 MB / 3.826 GB, free: 63.66 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/9.479, allocations: 4 kB / 3.826 GB, free: 63.66 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002056/9.481, allocations: 1.992 MB / 3.828 GB, free: 61.57 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008544/9.482, allocations: 339.7 kB / 3.828 GB, free: 61.22 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/9.482, allocations: 31.98 kB / 3.828 GB, free: 61.19 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009842/9.483, allocations: 111.7 kB / 3.829 GB, free: 61.08 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/9.483, allocations: 56.72 kB / 3.829 GB, free: 61.02 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.622e-05/9.483, allocations: 31.97 kB / 3.829 GB, free: 60.99 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0007966/9.484, allocations: 0.6845 MB / 3.829 GB, free: 60.29 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.51e-07/9.484, allocations: 0 / 3.829 GB, free: 60.29 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002344/9.486, allocations: 0.7968 MB / 3.83 GB, free: 59.5 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.001863/9.488, allocations: 1.337 MB / 3.831 GB, free: 58.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002727/9.491, allocations: 1.87 MB / 3.833 GB, free: 56.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/9.491, allocations: 0 / 3.833 GB, free: 56.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007514/9.492, allocations: 0.6562 MB / 3.834 GB, free: 55.54 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003565/9.495, allocations: 0.7775 MB / 3.835 GB, free: 54.76 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003807/9.499, allocations: 2.631 MB / 3.837 GB, free: 52.07 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000841/9.5, allocations: 1.47 MB / 3.839 GB, free: 50.58 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002404/9.503, allocations: 0.9962 MB / 3.84 GB, free: 49.58 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002046/9.503, allocations: 71.44 kB / 3.84 GB, free: 49.51 MB / 0.8698 GB Notification: Performance of SimCode: time 1.002e-06/9.503, allocations: 0 / 3.84 GB, free: 49.51 MB / 0.8698 GB Notification: Performance of Templates: time 0.0605/9.563, allocations: 47.8 MB / 3.886 GB, free: 1.848 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