Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.421/1.421, allocations: 249.5 MB / 257 MB, free: 6.992 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009826/0.0009826, allocations: 176.9 kB / 316.3 MB, free: 3.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.742/1.742, allocations: 205.3 MB / 0.5671 GB, free: 15.83 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009028/0.0009029, allocations: 91.33 kB / 0.6714 GB, free: 4.941 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.677e-05/1.681e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2638, allocations: 106.3 MB / 0.8852 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.334/6.597, allocations: 2.204 GB / 3.089 GB, free: 162.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002329/6.598, allocations: 90.45 kB / 3.089 GB, free: 162.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.285/8.883, allocations: 0.5675 GB / 3.656 GB, free: 177.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.292e-06/8.883, allocations: 0 / 3.656 GB, free: 177.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.754e-05/8.883, allocations: 24.27 kB / 3.656 GB, free: 177.6 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.002003/8.885, allocations: 1.138 MB / 3.658 GB, free: 177 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/8.885, allocations: 7.812 kB / 3.658 GB, free: 177 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/8.886, allocations: 209.7 kB / 3.658 GB, free: 176.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/8.887, allocations: 0.6664 MB / 3.658 GB, free: 176.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/8.887, allocations: 25.56 kB / 3.658 GB, free: 176.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.125e-05/8.887, allocations: 49.69 kB / 3.659 GB, free: 176.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007978/8.888, allocations: 0.5059 MB / 3.659 GB, free: 176.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/8.889, allocations: 0.794 MB / 3.66 GB, free: 176.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.283e-05/8.889, allocations: 3.75 kB / 3.66 GB, free: 176.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.822e-05/8.889, allocations: 7.5 kB / 3.66 GB, free: 176.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.149e-05/8.889, allocations: 30.56 kB / 3.66 GB, free: 176.4 MB / 0.8698 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.003142/8.892, allocations: 4.388 MB / 3.664 GB, free: 173.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004504/8.893, allocations: 414.6 kB / 3.665 GB, free: 173.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002289/8.893, allocations: 217.5 kB / 3.665 GB, free: 173.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001774/8.893, allocations: 103.9 kB / 3.665 GB, free: 173.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/8.893, allocations: 41.56 kB / 3.665 GB, free: 173.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=43): time 2.575e-06/8.893, allocations: 0 / 3.665 GB, free: 173.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=45): time 0.002019/8.895, allocations: 1.307 MB / 3.666 GB, free: 172.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/8.895, allocations: 110 kB / 3.666 GB, free: 172.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003993/8.896, allocations: 432.7 kB / 3.667 GB, free: 172.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.612e-05/8.896, allocations: 29.64 kB / 3.667 GB, free: 172.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002077/8.896, allocations: 424.9 kB / 3.667 GB, free: 172.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.738e-05/8.896, allocations: 157.7 kB / 3.667 GB, free: 172 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.123e-05/8.896, allocations: 0 / 3.667 GB, free: 172 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.953e-05/8.896, allocations: 373.3 kB / 3.668 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002036/8.897, allocations: 165.9 kB / 3.668 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00029/8.897, allocations: 395 kB / 3.668 GB, free: 171.4 MB / 0.8698 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.001304/8.898, allocations: 0.6209 MB / 3.669 GB, free: 171.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/8.898, allocations: 3.953 kB / 3.669 GB, free: 171.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007134/8.899, allocations: 0.5778 MB / 3.669 GB, free: 171.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/8.899, allocations: 8.781 kB / 3.669 GB, free: 171.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/8.899, allocations: 6.594 kB / 3.669 GB, free: 171.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/8.899, allocations: 9.281 kB / 3.669 GB, free: 171.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004172/8.899, allocations: 127.6 kB / 3.669 GB, free: 171.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/8.899, allocations: 17.75 kB / 3.669 GB, free: 171.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005153/8.9, allocations: 33.25 kB / 3.669 GB, free: 171.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.972e-05/8.9, allocations: 27.03 kB / 3.67 GB, free: 171.3 MB / 0.8698 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.0001196/8.9, allocations: 128.1 kB / 3.67 GB, free: 171.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/8.9, allocations: 77.08 kB / 3.67 GB, free: 171.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001401/8.9, allocations: 69.03 kB / 3.67 GB, free: 171.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-06/8.9, allocations: 7.594 kB / 3.67 GB, free: 171.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/8.9, allocations: 0 / 3.67 GB, free: 171.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004587/8.901, allocations: 0.6624 MB / 3.67 GB, free: 170.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001797/8.903, allocations: 1.457 MB / 3.672 GB, free: 170.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/8.903, allocations: 5.969 kB / 3.672 GB, free: 170.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004213/8.903, allocations: 106.5 kB / 3.672 GB, free: 170.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/8.903, allocations: 6.562 kB / 3.672 GB, free: 170.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.796e-05/8.903, allocations: 6.188 kB / 3.672 GB, free: 170.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-05/8.903, allocations: 17.42 kB / 3.672 GB, free: 170.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/8.903, allocations: 3.25 kB / 3.672 GB, free: 170.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008811/8.904, allocations: 0.9952 MB / 3.673 GB, free: 169.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002056/8.904, allocations: 184.9 kB / 3.673 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.544e-05/8.904, allocations: 8.734 kB / 3.673 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004395/8.905, allocations: 35.66 kB / 3.673 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.294e-05/8.905, allocations: 39.23 kB / 3.673 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.19e-05/8.905, allocations: 22.59 kB / 3.673 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003386/8.905, allocations: 331.6 kB / 3.674 GB, free: 169.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.51e-07/8.905, allocations: 0 / 3.674 GB, free: 169.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001105/8.906, allocations: 291.8 kB / 3.674 GB, free: 169.3 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 5 (vol.dynBal.U,vol.dynBal.mXi[1],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.002211/8.909, allocations: 1.878 MB / 3.676 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0006316/8.909, allocations: 416.4 kB / 3.676 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/8.909, allocations: 0 / 3.676 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002115/8.91, allocations: 188.2 kB / 3.676 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001382/8.911, allocations: 310.2 kB / 3.677 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00192/8.913, allocations: 1.252 MB / 3.678 GB, free: 168.3 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004324/8.913, allocations: 1.047 MB / 3.679 GB, free: 167.6 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0005573/8.914, allocations: 167.3 kB / 3.679 GB, free: 167.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/8.914, allocations: 51.69 kB / 3.679 GB, free: 167.6 MB / 0.8698 GB Notification: Performance of SimCode: time 8.81e-07/8.914, allocations: 0 / 3.679 GB, free: 167.6 MB / 0.8698 GB Notification: Performance of Templates: time 0.02881/8.943, allocations: 19.76 MB / 3.698 GB, free: 166.7 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches