Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.301/2.301, allocations: 390.5 MB / 398 MB, free: 10.9 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.001316/0.001316, allocations: 180.9 kB / 491.2 MB, free: 1.555 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.767/1.767, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.001149/0.001149, allocations: 103.4 kB / 0.9269 GB, free: 13.76 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.702e-05/1.704e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3224, allocations: 143 MB / 1.212 GB, free: 39.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.249/6.571, allocations: 1.931 GB / 3.143 GB, free: 398.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000317/6.572, allocations: 87.95 kB / 3.143 GB, free: 398.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.189/8.76, allocations: 0.5937 GB / 3.737 GB, free: 231.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.533e-06/8.76, allocations: 0 / 3.737 GB, free: 231.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.031e-05/8.761, allocations: 31.94 kB / 3.737 GB, free: 231.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.002543/8.763, allocations: 1.122 MB / 3.738 GB, free: 230.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/8.763, allocations: 12.03 kB / 3.738 GB, free: 230.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001174/8.764, allocations: 210.2 kB / 3.738 GB, free: 230.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001116/8.765, allocations: 0.6633 MB / 3.739 GB, free: 229.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.216e-05/8.765, allocations: 24 kB / 3.739 GB, free: 229.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.589e-05/8.766, allocations: 55.19 kB / 3.739 GB, free: 229.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008132/8.766, allocations: 0.5154 MB / 3.739 GB, free: 228.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/8.767, allocations: 0.7848 MB / 3.74 GB, free: 227.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.808e-05/8.767, allocations: 3.938 kB / 3.74 GB, free: 227.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.667e-05/8.768, allocations: 4 kB / 3.74 GB, free: 227.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.774e-05/8.768, allocations: 25.31 kB / 3.74 GB, free: 227.9 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.003501/8.771, allocations: 4.389 MB / 3.744 GB, free: 223.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005799/8.772, allocations: 424.2 kB / 3.745 GB, free: 222.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000252/8.772, allocations: 218.1 kB / 3.745 GB, free: 222.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002229/8.772, allocations: 104.8 kB / 3.745 GB, free: 222.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/8.772, allocations: 42.5 kB / 3.745 GB, free: 222.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=43): time 2.334e-06/8.772, allocations: 4 kB / 3.745 GB, free: 222.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=45): time 0.002262/8.774, allocations: 1.314 MB / 3.746 GB, free: 221.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/8.775, allocations: 110.8 kB / 3.747 GB, free: 220.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004415/8.775, allocations: 434.3 kB / 3.747 GB, free: 220.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.713e-05/8.775, allocations: 33.7 kB / 3.747 GB, free: 220.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002095/8.775, allocations: 431 kB / 3.747 GB, free: 220 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/8.775, allocations: 153.8 kB / 3.748 GB, free: 219.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.233e-05/8.775, allocations: 2.844 kB / 3.748 GB, free: 219.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001167/8.776, allocations: 370.8 kB / 3.748 GB, free: 219.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002216/8.776, allocations: 165.5 kB / 3.748 GB, free: 219.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003355/8.776, allocations: 391.3 kB / 3.748 GB, free: 218.9 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.001481/8.778, allocations: 0.6454 MB / 3.749 GB, free: 218.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/8.778, allocations: 0 / 3.749 GB, free: 218.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007563/8.778, allocations: 0.5822 MB / 3.75 GB, free: 217.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.829e-05/8.778, allocations: 8.625 kB / 3.75 GB, free: 217.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/8.778, allocations: 8.078 kB / 3.75 GB, free: 217.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.272e-05/8.778, allocations: 15.98 kB / 3.75 GB, free: 217.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004117/8.779, allocations: 119.8 kB / 3.75 GB, free: 217.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.064e-05/8.779, allocations: 19.89 kB / 3.75 GB, free: 217.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005753/8.779, allocations: 44.36 kB / 3.75 GB, free: 217.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.208e-05/8.78, allocations: 28 kB / 3.75 GB, free: 217.4 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.0001627/8.78, allocations: 125.7 kB / 3.75 GB, free: 217.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/8.78, allocations: 71.16 kB / 3.75 GB, free: 217.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001592/8.78, allocations: 66.34 kB / 3.75 GB, free: 217.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/8.78, allocations: 8 kB / 3.75 GB, free: 217.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.23e-05/8.78, allocations: 7.922 kB / 3.75 GB, free: 217.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006313/8.781, allocations: 0.6608 MB / 3.751 GB, free: 216.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001946/8.783, allocations: 1.468 MB / 3.752 GB, free: 214.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/8.783, allocations: 4 kB / 3.752 GB, free: 214.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000416/8.783, allocations: 99.83 kB / 3.752 GB, free: 214.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.576e-06/8.783, allocations: 11.83 kB / 3.752 GB, free: 214.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.878e-05/8.783, allocations: 7.984 kB / 3.752 GB, free: 214.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-06/8.783, allocations: 8 kB / 3.752 GB, free: 214.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/8.783, allocations: 4 kB / 3.752 GB, free: 214.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008984/8.784, allocations: 0.9802 MB / 3.753 GB, free: 213.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00025/8.784, allocations: 188.3 kB / 3.753 GB, free: 213.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.871e-05/8.784, allocations: 11.95 kB / 3.754 GB, free: 213.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004317/8.785, allocations: 35.81 kB / 3.754 GB, free: 213.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.671e-05/8.785, allocations: 31.97 kB / 3.754 GB, free: 213.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.044e-05/8.785, allocations: 19.98 kB / 3.754 GB, free: 213.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003447/8.785, allocations: 322.9 kB / 3.754 GB, free: 212.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/8.785, allocations: 4 kB / 3.754 GB, free: 212.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001216/8.787, allocations: 295.9 kB / 3.754 GB, free: 212.6 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.002654/8.789, allocations: 1.873 MB / 3.756 GB, free: 210.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0008126/8.79, allocations: 412.8 kB / 3.756 GB, free: 210.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/8.79, allocations: 384 / 3.756 GB, free: 210.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002614/8.79, allocations: 196.4 kB / 3.757 GB, free: 210.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001709/8.792, allocations: 300.3 kB / 3.757 GB, free: 210 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002478/8.795, allocations: 1.254 MB / 3.758 GB, free: 208.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005513/8.795, allocations: 1.043 MB / 3.759 GB, free: 207.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0007143/8.796, allocations: 177.2 kB / 3.759 GB, free: 207.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001545/8.796, allocations: 47.44 kB / 3.759 GB, free: 207.4 MB / 1.151 GB Notification: Performance of SimCode: time 4.188e-06/8.796, allocations: 4 kB / 3.759 GB, free: 207.4 MB / 1.151 GB Notification: Performance of Templates: time 0.03232/8.828, allocations: 19.65 MB / 3.779 GB, free: 187.9 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches