Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.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.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_latest_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_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.44/2.44, allocations: 393.5 MB / 408.4 MB, free: 11 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.001768/0.001768, allocations: 183.5 kB / 0.4902 GB, free: 2.227 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.751/1.751, allocations: 223.2 MB / 0.7992 GB, free: 15.66 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.001232/0.001232, allocations: 96 kB / 0.9396 GB, free: 2.852 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000562/0.000562, allocations: 12.38 kB / 1.09 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3774/0.378, allocations: 143 MB / 1.229 GB, free: 85.46 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.011/6.389, allocations: 2.167 GB / 3.396 GB, free: 265.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002521/6.389, allocations: 104.9 kB / 3.396 GB, free: 265.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.572/7.961, allocations: 489.5 MB / 3.874 GB, free: 234.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.323e-06/7.961, allocations: 0 / 3.874 GB, free: 234.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001083/7.961, allocations: 39.98 kB / 3.874 GB, free: 234 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: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.003804/7.965, allocations: 1.765 MB / 3.876 GB, free: 232.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/7.965, allocations: 16.78 kB / 3.876 GB, free: 232.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003068/7.968, allocations: 497.2 kB / 3.876 GB, free: 231.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00276/7.971, allocations: 1.339 MB / 3.878 GB, free: 230.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.775e-05/7.971, allocations: 77.98 kB / 3.878 GB, free: 230.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001504/7.971, allocations: 111.8 kB / 3.878 GB, free: 230.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00188/7.973, allocations: 1.241 MB / 3.879 GB, free: 228.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.63e-05/7.973, allocations: 0 / 3.879 GB, free: 228.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/7.973, allocations: 40 kB / 3.879 GB, free: 228.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-05/7.973, allocations: 41.95 kB / 3.879 GB, free: 228.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001535/7.975, allocations: 1.191 MB / 3.88 GB, free: 227.6 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.005854/7.98, allocations: 4.89 MB / 3.885 GB, free: 222.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/7.982, allocations: 0.9809 MB / 3.886 GB, free: 221.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002926/7.982, allocations: 202.8 kB / 3.886 GB, free: 221.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/7.982, allocations: 43.22 kB / 3.886 GB, free: 221.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=78): time 2.926e-06/7.982, allocations: 3.938 kB / 3.886 GB, free: 221.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=81): time 0.004838/7.987, allocations: 2.979 MB / 3.889 GB, free: 218 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.905e-05/7.987, allocations: 64 kB / 3.889 GB, free: 217.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009786/7.988, allocations: 0.8629 MB / 3.89 GB, free: 217.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.769e-05/7.988, allocations: 41.7 kB / 3.89 GB, free: 217 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002723/7.988, allocations: 0.5351 MB / 3.891 GB, free: 216.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001833/7.988, allocations: 283.8 kB / 3.891 GB, free: 216.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.909e-05/7.988, allocations: 24 kB / 3.891 GB, free: 216.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.325e-05/7.989, allocations: 338 kB / 3.891 GB, free: 215.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004925/7.989, allocations: 437.7 kB / 3.892 GB, free: 215.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000582/7.99, allocations: 0.5919 MB / 3.892 GB, free: 214.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005978/7.99, allocations: 0.5455 MB / 3.893 GB, free: 214.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/7.99, allocations: 0 / 3.893 GB, free: 214.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001501/7.992, allocations: 1.243 MB / 3.894 GB, free: 213 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.000226/7.992, allocations: 1.052 MB / 3.895 GB, free: 211.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/7.992, allocations: 4 kB / 3.895 GB, free: 211.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002262/7.992, allocations: 72.8 kB / 3.895 GB, free: 211.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008989/7.993, allocations: 191.7 kB / 3.895 GB, free: 211.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001763/7.995, allocations: 3.018 MB / 3.898 GB, free: 208.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001521/7.996, allocations: 159.6 kB / 3.898 GB, free: 208.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.205e-05/7.997, allocations: 39.98 kB / 3.898 GB, free: 208.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.157e-06/7.997, allocations: 4 kB / 3.898 GB, free: 208.2 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001336/7.998, allocations: 1.113 MB / 3.899 GB, free: 207.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/7.998, allocations: 4.344 kB / 3.899 GB, free: 207.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001599/7.998, allocations: 76.8 kB / 3.9 GB, free: 207 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006284/7.999, allocations: 175.7 kB / 3.9 GB, free: 206.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001176/8, allocations: 1.835 MB / 3.901 GB, free: 204.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001425/8.001, allocations: 155.6 kB / 3.902 GB, free: 204.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.657e-05/8.001, allocations: 24 kB / 3.902 GB, free: 204.7 MB / 1.167 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 () * Number of clocked 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.00082/8.002, allocations: 0.6066 MB / 3.902 GB, free: 204 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001631/8.002, allocations: 122.6 kB / 3.902 GB, free: 203.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001549/8.004, allocations: 1.189 MB / 3.904 GB, free: 202.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/8.004, allocations: 8 kB / 3.904 GB, free: 202.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/8.004, allocations: 0 / 3.904 GB, free: 202.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001174/8.005, allocations: 1.237 MB / 3.905 GB, free: 201.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003651/8.009, allocations: 2.815 MB / 3.907 GB, free: 198.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/8.009, allocations: 4 kB / 3.907 GB, free: 198.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000961/8.01, allocations: 235.6 kB / 3.908 GB, free: 198.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00017/8.01, allocations: 64.81 kB / 3.908 GB, free: 198.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.376e-05/8.01, allocations: 27.98 kB / 3.908 GB, free: 198.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001486/8.012, allocations: 3.003 MB / 3.911 GB, free: 195 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/8.012, allocations: 4.031 kB / 3.911 GB, free: 195 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001843/8.013, allocations: 1.94 MB / 3.913 GB, free: 192.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006688/8.014, allocations: 323.7 kB / 3.913 GB, free: 192.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/8.014, allocations: 27.98 kB / 3.913 GB, free: 192.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009992/8.015, allocations: 107.7 kB / 3.913 GB, free: 192.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.372e-05/8.015, allocations: 52.58 kB / 3.913 GB, free: 192.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.525e-05/8.015, allocations: 35.98 kB / 3.913 GB, free: 192.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0007153/8.016, allocations: 0.688 MB / 3.914 GB, free: 191.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 2e-07/8.016, allocations: 3.938 kB / 3.914 GB, free: 191.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002214/8.018, allocations: 0.7968 MB / 3.915 GB, free: 190.9 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (vol[1].dynBal.medium.Xi[1],vol[1].dynBal.U,vol[2].dynBal.medium.Xi[1],vol[2].dynBal.U,vol[3].dynBal.medium.Xi[1],vol[3].dynBal.U,vol[3].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 (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.001727/8.02, allocations: 1.346 MB / 3.916 GB, free: 189.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002411/8.022, allocations: 1.874 MB / 3.918 GB, free: 187.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/8.023, allocations: 0 / 3.918 GB, free: 187.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007247/8.023, allocations: 0.6659 MB / 3.918 GB, free: 186.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003061/8.026, allocations: 0.7867 MB / 3.919 GB, free: 186.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004441/8.031, allocations: 3.636 MB / 3.923 GB, free: 182.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008665/8.032, allocations: 1.445 MB / 3.924 GB, free: 181 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001963/8.034, allocations: 0.6923 MB / 3.925 GB, free: 180.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002645/8.034, allocations: 87.42 kB / 3.925 GB, free: 180.2 MB / 1.167 GB Notification: Performance of SimCode: time 9.82e-07/8.034, allocations: 0 / 3.925 GB, free: 180.2 MB / 1.167 GB Notification: Performance of Templates: time 0.05168/8.086, allocations: 41.79 MB / 3.966 GB, free: 138.7 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir.csv","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches