Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.294/2.294, allocations: 387.1 MB / 399.7 MB, free: 9.449 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.001047/0.001047, allocations: 184.8 kB / 492.3 MB, free: 0.6016 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.73/1.73, allocations: 221.3 MB / 0.7871 GB, free: 12.96 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.001317/0.001317, allocations: 87.73 kB / 0.9267 GB, free: 14.04 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.82e-05/2.826e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2943, allocations: 142.3 MB / 1.212 GB, free: 38.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.464/5.758, allocations: 1.931 GB / 3.143 GB, free: 399.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002854/5.759, allocations: 92.78 kB / 3.143 GB, free: 399.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.005/7.763, allocations: 0.6003 GB / 3.743 GB, free: 226.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.435e-06/7.763, allocations: 0 / 3.743 GB, free: 226.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001193/7.763, allocations: 20 kB / 3.743 GB, free: 226.5 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.002553/7.766, allocations: 1.138 MB / 3.744 GB, free: 225.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/7.766, allocations: 8.031 kB / 3.744 GB, free: 225.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001206/7.767, allocations: 214.6 kB / 3.745 GB, free: 225.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001169/7.768, allocations: 0.6679 MB / 3.745 GB, free: 224.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.528e-05/7.768, allocations: 58 kB / 3.745 GB, free: 224.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/7.769, allocations: 80 kB / 3.745 GB, free: 224.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001203/7.77, allocations: 0.8907 MB / 3.746 GB, free: 223.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.597e-05/7.77, allocations: 7.938 kB / 3.746 GB, free: 223.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.651e-05/7.77, allocations: 32 kB / 3.746 GB, free: 223.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.365e-05/7.77, allocations: 29.31 kB / 3.746 GB, free: 223.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007865/7.771, allocations: 0.575 MB / 3.747 GB, free: 222.7 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.003282/7.774, allocations: 4.577 MB / 3.751 GB, free: 217.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005783/7.775, allocations: 446 kB / 3.752 GB, free: 217.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000269/7.775, allocations: 228.3 kB / 3.752 GB, free: 217.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001831/7.775, allocations: 105 kB / 3.752 GB, free: 217 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/7.775, allocations: 42.55 kB / 3.752 GB, free: 216.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=43): time 2.485e-06/7.775, allocations: 0 / 3.752 GB, free: 216.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=45): time 0.002182/7.777, allocations: 1.406 MB / 3.754 GB, free: 215.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/7.777, allocations: 114.8 kB / 3.754 GB, free: 215.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005955/7.778, allocations: 0.6171 MB / 3.754 GB, free: 214.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.793e-05/7.778, allocations: 37.7 kB / 3.754 GB, free: 214.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001951/7.778, allocations: 419.8 kB / 3.755 GB, free: 214.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.13e-05/7.778, allocations: 161.6 kB / 3.755 GB, free: 214.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.357e-05/7.778, allocations: 16 kB / 3.755 GB, free: 214.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.765e-05/7.778, allocations: 330 kB / 3.755 GB, free: 213.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002272/7.779, allocations: 177.5 kB / 3.755 GB, free: 213.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003166/7.779, allocations: 412.9 kB / 3.756 GB, free: 213.1 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00144/7.78, allocations: 0.6659 MB / 3.756 GB, free: 212.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/7.78, allocations: 4 kB / 3.756 GB, free: 212.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007867/7.781, allocations: 0.6573 MB / 3.757 GB, free: 211.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/7.781, allocations: 4 kB / 3.757 GB, free: 211.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/7.781, allocations: 8 kB / 3.757 GB, free: 211.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/7.781, allocations: 15.95 kB / 3.757 GB, free: 211.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003984/7.782, allocations: 127.3 kB / 3.757 GB, free: 211.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.587e-05/7.782, allocations: 15.94 kB / 3.757 GB, free: 211.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006154/7.782, allocations: 52.16 kB / 3.757 GB, free: 211.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.284e-05/7.782, allocations: 35.98 kB / 3.757 GB, free: 211.5 MB / 1.151 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.0001214/7.783, allocations: 140.8 kB / 3.757 GB, free: 211.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/7.783, allocations: 83.06 kB / 3.757 GB, free: 211.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001875/7.783, allocations: 95.44 kB / 3.758 GB, free: 211.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/7.783, allocations: 4 kB / 3.758 GB, free: 211.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/7.783, allocations: 3.953 kB / 3.758 GB, free: 211.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005533/7.783, allocations: 0.6793 MB / 3.758 GB, free: 210.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001954/7.785, allocations: 1.605 MB / 3.76 GB, free: 208.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/7.785, allocations: 4 kB / 3.76 GB, free: 208.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004032/7.786, allocations: 99.83 kB / 3.76 GB, free: 208.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/7.786, allocations: 4 kB / 3.76 GB, free: 208.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.171e-05/7.786, allocations: 16 kB / 3.76 GB, free: 208.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.141e-06/7.786, allocations: 15.98 kB / 3.76 GB, free: 208.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/7.786, allocations: 7.938 kB / 3.76 GB, free: 208.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008771/7.787, allocations: 1.02 MB / 3.761 GB, free: 207.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002703/7.787, allocations: 212 kB / 3.761 GB, free: 207.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.734e-05/7.787, allocations: 11.98 kB / 3.761 GB, free: 207.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004792/7.788, allocations: 39.89 kB / 3.761 GB, free: 207.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.205e-05/7.788, allocations: 43.84 kB / 3.761 GB, free: 207 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.931e-05/7.788, allocations: 16 kB / 3.761 GB, free: 207 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0005071/7.788, allocations: 0.4991 MB / 3.762 GB, free: 206.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.91e-07/7.788, allocations: 0 / 3.762 GB, free: 206.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001348/7.79, allocations: 364 kB / 3.762 GB, free: 206.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 45 * 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.002199/7.792, allocations: 1.665 MB / 3.764 GB, free: 204.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0007192/7.793, allocations: 460.5 kB / 3.764 GB, free: 204 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/7.793, allocations: 0 / 3.764 GB, free: 204 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002245/7.793, allocations: 212.3 kB / 3.764 GB, free: 203.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00191/7.795, allocations: 452.4 kB / 3.765 GB, free: 203.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001902/7.797, allocations: 1.31 MB / 3.766 GB, free: 202 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004051/7.797, allocations: 1.044 MB / 3.767 GB, free: 200.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0006485/7.798, allocations: 202.9 kB / 3.767 GB, free: 200.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001378/7.798, allocations: 59.44 kB / 3.767 GB, free: 200.6 MB / 1.151 GB Notification: Performance of SimCode: time 8.81e-07/7.798, allocations: 4 kB / 3.767 GB, free: 200.6 MB / 1.151 GB Notification: Performance of Templates: time 0.04567/7.844, allocations: 38.08 MB / 3.805 GB, free: 162.7 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches