Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001783/0.001783, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 223.2 MB / 239.9 MB, free: 5.242 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.437/2.437, allocations: 390.3 MB / 0.6653 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003444/0.0003445, allocations: 8 kB / 0.8145 GB, free: 14.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.74/0.7403, allocations: 142.3 MB / 0.9535 GB, free: 8.324 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.1931/0.9334, allocations: 158.1 MB / 1.108 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0101/0.9436, allocations: 5.605 MB / 1.113 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001308/0.9449, allocations: 31.75 kB / 1.113 GB, free: 12.22 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001683/0.9466, allocations: 0.5638 MB / 1.114 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.004978/0.9516, allocations: 1.659 MB / 1.116 GB, free: 9.992 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00381/0.9555, allocations: 1.189 MB / 1.117 GB, free: 8.816 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003053/0.9585, allocations: 1.458 MB / 1.118 GB, free: 7.355 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001176/0.9597, allocations: 0.7001 MB / 1.119 GB, free: 6.641 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001741/0.9615, allocations: 0.7435 MB / 1.12 GB, free: 5.895 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007911/0.9623, allocations: 0.5136 MB / 1.12 GB, free: 5.379 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 9.488e-05/0.9624, allocations: 40 kB / 1.12 GB, free: 5.34 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002413/0.9648, allocations: 0.8853 MB / 1.121 GB, free: 4.453 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004372/0.9652, allocations: 402.9 kB / 1.121 GB, free: 4.059 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0003212/0.9656, allocations: 249.1 kB / 1.122 GB, free: 3.809 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001795/0.9674, allocations: 1.434 MB / 1.123 GB, free: 2.371 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.9674, allocations: 4 kB / 1.123 GB, free: 2.367 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.004e-06/0.9674, allocations: 0 / 1.123 GB, free: 2.367 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.577e-05/0.9674, allocations: 0 / 1.123 GB, free: 2.367 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002184/0.9696, allocations: 1.254 MB / 1.124 GB, free: 1.059 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.9697, allocations: 8.031 kB / 1.124 GB, free: 1.051 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002042/0.9717, allocations: 362.2 kB / 1.125 GB, free: 0.6953 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001432/0.9732, allocations: 0.742 MB / 1.125 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003624/0.9735, allocations: 133.9 kB / 1.125 GB, free: 15.78 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/0.9737, allocations: 79.98 kB / 1.125 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001819/0.9755, allocations: 1.052 MB / 1.127 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.577e-05/0.9755, allocations: 11.98 kB / 1.127 GB, free: 14.61 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.992e-05/0.9756, allocations: 39.91 kB / 1.127 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.042e-05/0.9757, allocations: 41.94 kB / 1.127 GB, free: 14.53 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001532/0.9772, allocations: 0.8392 MB / 1.127 GB, free: 13.69 MB / 0.8887 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.006044/0.9833, allocations: 4.066 MB / 1.131 GB, free: 9.359 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006346/0.9839, allocations: 373 kB / 1.132 GB, free: 8.988 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 5.422e-05/0.984, allocations: 4 kB / 1.132 GB, free: 8.984 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/0.984, allocations: 38.56 kB / 1.132 GB, free: 8.938 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=36): time 2.756e-06/0.984, allocations: 4 kB / 1.132 GB, free: 8.934 MB / 0.8887 GB Notification: Performance of matching and sorting (n=38): time 0.002749/0.9868, allocations: 1.33 MB / 1.133 GB, free: 7.547 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.185e-05/0.9869, allocations: 55.41 kB / 1.133 GB, free: 7.48 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001465/0.9884, allocations: 0.9881 MB / 1.134 GB, free: 6.469 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 6.361e-05/0.9884, allocations: 41.69 kB / 1.134 GB, free: 6.422 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003972/0.9888, allocations: 491.3 kB / 1.135 GB, free: 5.938 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001533/0.989, allocations: 146 kB / 1.135 GB, free: 5.793 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.776e-05/0.989, allocations: 8 kB / 1.135 GB, free: 5.785 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.9892, allocations: 330 kB / 1.135 GB, free: 5.457 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004791/0.9897, allocations: 237.2 kB / 1.135 GB, free: 5.227 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005782/0.9903, allocations: 405.2 kB / 1.136 GB, free: 4.762 MB / 0.8887 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001951/0.9922, allocations: 0.7347 MB / 1.136 GB, free: 4.008 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.9922, allocations: 4 kB / 1.136 GB, free: 4.004 MB / 0.8887 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001466/0.9937, allocations: 0.7576 MB / 1.137 GB, free: 3.238 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.9937, allocations: 11.94 kB / 1.137 GB, free: 3.227 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.9938, allocations: 4 kB / 1.137 GB, free: 3.223 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.67e-05/0.9938, allocations: 8 kB / 1.137 GB, free: 3.215 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005852/0.9944, allocations: 148 kB / 1.137 GB, free: 3.07 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.489e-05/0.9944, allocations: 8 kB / 1.137 GB, free: 3.062 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/0.9955, allocations: 103.7 kB / 1.137 GB, free: 2.961 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.513e-05/0.9956, allocations: 24 kB / 1.137 GB, free: 2.938 MB / 0.8887 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (71): * Single equations (assignments): 71 * 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.0005991/0.9962, allocations: 317.5 kB / 1.138 GB, free: 2.617 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001588/0.9964, allocations: 98.78 kB / 1.138 GB, free: 2.52 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001935/0.9966, allocations: 105 kB / 1.138 GB, free: 2.418 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.9966, allocations: 4 kB / 1.138 GB, free: 2.414 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.547e-06/0.9966, allocations: 4 kB / 1.138 GB, free: 2.41 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007474/0.9973, allocations: 0.6674 MB / 1.139 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002645/1, allocations: 1.585 MB / 1.14 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/1, allocations: 8.062 kB / 1.14 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003934/1, allocations: 87.89 kB / 1.14 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.718e-06/1, allocations: 4 kB / 1.14 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.379e-05/1, allocations: 16 kB / 1.14 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.204e-05/1, allocations: 19.92 kB / 1.14 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/1.001, allocations: 4 kB / 1.14 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/1.002, allocations: 1.022 MB / 1.141 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004678/1.002, allocations: 243.9 kB / 1.142 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001748/1.002, allocations: 12 kB / 1.142 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007863/1.003, allocations: 65.44 kB / 1.142 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.362e-05/1.003, allocations: 35.86 kB / 1.142 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.909e-05/1.003, allocations: 23.98 kB / 1.142 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001089/1.004, allocations: 0.7034 MB / 1.142 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.7e-07/1.004, allocations: 0 / 1.142 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0009316/1.005, allocations: 252 kB / 1.143 GB, free: 13.3 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (38): * Single equations (assignments): 38 * 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.0005021/1.006, allocations: 215.1 kB / 1.143 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0009874/1.007, allocations: 499.8 kB / 1.143 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/1.007, allocations: 4 kB / 1.143 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002685/1.007, allocations: 195.8 kB / 1.143 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002882/1.01, allocations: 0.5791 MB / 1.144 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003404/1.013, allocations: 2.181 MB / 1.146 GB, free: 9.582 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000775/1.014, allocations: 1.118 MB / 1.147 GB, free: 8.434 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001011/1.015, allocations: 240.5 kB / 1.147 GB, free: 8.195 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002139/1.015, allocations: 75.44 kB / 1.148 GB, free: 8.121 MB / 0.9044 GB Notification: Performance of SimCode: time 8.42e-07/1.015, allocations: 0 / 1.148 GB, free: 8.121 MB / 0.9044 GB Notification: Performance of Templates: time 0.03141/1.047, allocations: 18.28 MB / 1.165 GB, free: 6.117 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches