Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volMFactor.T|vol1.T|vol1.Xi.1.|volMFactor.Xi.1.|vol.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volMFactor.T|vol1.T|vol1.Xi.1.|volMFactor.Xi.1.|vol.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.33/2.33, allocations: 387.1 MB / 399.7 MB, free: 9.461 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.00109/0.001091, allocations: 180.9 kB / 492.3 MB, free: 0.6328 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.454/1.454, allocations: 221.3 MB / 0.7871 GB, free: 12.94 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.0008574/0.0008573, allocations: 97.16 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.355e-05/3.357e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3298, allocations: 142.3 MB / 1.212 GB, free: 38.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.015/6.345, allocations: 1.922 GB / 3.135 GB, free: 344.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002819/6.346, allocations: 87.73 kB / 3.135 GB, free: 344.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.403/8.748, allocations: 0.7646 GB / 3.899 GB, free: 18.96 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.312e-06/8.748, allocations: 4 kB / 3.899 GB, free: 18.95 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001038/8.748, allocations: 48.05 kB / 3.9 GB, free: 18.91 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.003067/8.751, allocations: 1.54 MB / 3.901 GB, free: 17.32 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/8.751, allocations: 8.031 kB / 3.901 GB, free: 17.31 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003087/8.755, allocations: 481.7 kB / 3.901 GB, free: 16.84 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002142/8.757, allocations: 1.109 MB / 3.903 GB, free: 15.68 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.099e-05/8.757, allocations: 82.14 kB / 3.903 GB, free: 15.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/8.757, allocations: 116 kB / 3.903 GB, free: 15.48 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002008/8.759, allocations: 1.202 MB / 3.904 GB, free: 14.24 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.084e-05/8.759, allocations: 8 kB / 3.904 GB, free: 14.23 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/8.759, allocations: 44 kB / 3.904 GB, free: 14.19 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.303e-05/8.759, allocations: 38.14 kB / 3.904 GB, free: 14.15 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001442/8.761, allocations: 0.9963 MB / 3.905 GB, free: 13.15 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.005762/8.766, allocations: 4.211 MB / 3.909 GB, free: 8.656 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/8.767, allocations: 0.7669 MB / 3.91 GB, free: 7.887 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006189/8.768, allocations: 462.2 kB / 3.91 GB, free: 7.434 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004689/8.769, allocations: 296.1 kB / 3.911 GB, free: 7.09 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.04e-05/8.769, allocations: 47.33 kB / 3.911 GB, free: 7.031 MB / 1.151 GB Notification: Performance of pre-optimization done (n=83): time 5e-06/8.769, allocations: 0 / 3.911 GB, free: 7.031 MB / 1.151 GB Notification: Performance of matching and sorting (n=89): time 0.004473/8.773, allocations: 2.248 MB / 3.913 GB, free: 4.727 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/8.773, allocations: 60.19 kB / 3.913 GB, free: 4.656 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000997/8.774, allocations: 0.8342 MB / 3.914 GB, free: 3.805 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.945e-05/8.774, allocations: 49.7 kB / 3.914 GB, free: 3.75 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003137/8.775, allocations: 0.5395 MB / 3.914 GB, free: 3.203 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002221/8.775, allocations: 319.4 kB / 3.915 GB, free: 2.887 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.879e-05/8.775, allocations: 19.94 kB / 3.915 GB, free: 2.867 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.873e-05/8.775, allocations: 341.9 kB / 3.915 GB, free: 2.527 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004316/8.775, allocations: 333.9 kB / 3.915 GB, free: 2.199 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005252/8.776, allocations: 472.6 kB / 3.916 GB, free: 1.691 MB / 1.151 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (bou.p = vol1.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start (bou.p = volMFactor.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 1.006/9.782, allocations: 2.232 MB / 3.918 GB, free: 235 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.26e-05/9.782, allocations: 3.094 kB / 3.918 GB, free: 235 MB / 1.151 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002774/9.785, allocations: 0.9845 MB / 3.919 GB, free: 235 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 3.904e-05/9.785, allocations: 6.656 kB / 3.919 GB, free: 235 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/9.785, allocations: 2.531 kB / 3.919 GB, free: 235 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.466e-05/9.785, allocations: 8.062 kB / 3.919 GB, free: 235 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008612/9.786, allocations: 184 kB / 3.919 GB, free: 235 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.333e-05/9.786, allocations: 7.797 kB / 3.919 GB, free: 235 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001572/9.788, allocations: 77.38 kB / 3.919 GB, free: 235 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/9.788, allocations: 34.2 kB / 3.919 GB, free: 235 MB / 1.151 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: vol1.dynBal.medium.p = vol1.dynBal.p_start volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 108 * 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.0002919/9.788, allocations: 166 kB / 3.919 GB, free: 234.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002273/9.788, allocations: 130.3 kB / 3.919 GB, free: 234.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005157/9.789, allocations: 153 kB / 3.92 GB, free: 234.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/9.789, allocations: 8.859 kB / 3.92 GB, free: 234.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-05/9.789, allocations: 4.344 kB / 3.92 GB, free: 234.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001747/9.791, allocations: 1.062 MB / 3.921 GB, free: 234.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005865/9.797, allocations: 3.03 MB / 3.924 GB, free: 233.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.039e-05/9.797, allocations: 10.11 kB / 3.924 GB, free: 233.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009746/9.798, allocations: 160.5 kB / 3.924 GB, free: 233.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000438/9.798, allocations: 106.9 kB / 3.924 GB, free: 233.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-05/9.798, allocations: 32.92 kB / 3.924 GB, free: 233.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002371/9.801, allocations: 2.867 MB / 3.927 GB, free: 231.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.9e-05/9.801, allocations: 11.34 kB / 3.927 GB, free: 231.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00336/9.804, allocations: 2.213 MB / 3.929 GB, free: 230.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009687/9.805, allocations: 306.6 kB / 3.929 GB, free: 230.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001624/9.805, allocations: 32.59 kB / 3.929 GB, free: 230.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/9.806, allocations: 68.33 kB / 3.929 GB, free: 230.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000159/9.806, allocations: 91.95 kB / 3.929 GB, free: 230 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.753e-05/9.806, allocations: 48.73 kB / 3.929 GB, free: 230 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001173/9.808, allocations: 0.6751 MB / 3.93 GB, free: 229.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.9e-07/9.808, allocations: 0 / 3.93 GB, free: 229.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002397/9.81, allocations: 0.5167 MB / 3.931 GB, free: 229.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 6 (vol.dynBal.medium.Xi[1],vol.dynBal.U,volMFactor.dynBal.medium.Xi[1],volMFactor.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 83 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003124/9.813, allocations: 1.682 MB / 3.932 GB, free: 229.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001702/9.815, allocations: 0.8009 MB / 3.933 GB, free: 229.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/9.815, allocations: 2 kB / 3.933 GB, free: 229.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001032/9.816, allocations: 0.6633 MB / 3.934 GB, free: 229.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004738/9.821, allocations: 0.8735 MB / 3.934 GB, free: 229.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004204/9.825, allocations: 2.294 MB / 3.937 GB, free: 228.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001064/9.826, allocations: 1.28 MB / 3.938 GB, free: 227.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0018/9.828, allocations: 340.3 kB / 3.938 GB, free: 227.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003063/9.828, allocations: 102.4 kB / 3.938 GB, free: 227.7 MB / 1.151 GB Notification: Performance of SimCode: time 1.233e-06/9.828, allocations: 0 / 3.938 GB, free: 227.7 MB / 1.151 GB Notification: Performance of Templates: time 0.08573/9.914, allocations: 49.93 MB / 3.987 GB, free: 226.9 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.csv","../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches