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.369/1.369, allocations: 251.9 MB / 266.9 MB, free: 11.08 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001216/0.001216, allocations: 186.5 kB / 326.5 MB, free: 2.238 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.902/1.902, allocations: 205.4 MB / 0.5775 GB, free: 20.55 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.0008994/0.0008994, allocations: 90.3 kB / 0.6821 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004003/0.0004003, allocations: 13.75 kB / 0.7962 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.2929, allocations: 106.3 MB / 0.9001 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.961/6.254, allocations: 2.203 GB / 3.104 GB, free: 243.1 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/6.254, allocations: 89.08 kB / 3.104 GB, free: 243.1 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.8/8.054, allocations: 0.5746 GB / 3.678 GB, free: 81.6 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.244e-06/8.054, allocations: 7.938 kB / 3.678 GB, free: 81.59 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001281/8.054, allocations: 27.98 kB / 3.678 GB, free: 81.57 MB / 0.8855 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.00429/8.058, allocations: 1.232 MB / 3.68 GB, free: 80.28 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/8.058, allocations: 16.02 kB / 3.68 GB, free: 80.27 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001613/8.06, allocations: 207.3 kB / 3.68 GB, free: 80.06 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001873/8.062, allocations: 0.6756 MB / 3.68 GB, free: 79.35 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.578e-05/8.062, allocations: 62 kB / 3.68 GB, free: 79.29 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002475/8.062, allocations: 80 kB / 3.681 GB, free: 79.21 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001749/8.064, allocations: 0.9132 MB / 3.681 GB, free: 78.21 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.296e-05/8.064, allocations: 3.938 kB / 3.681 GB, free: 78.21 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.525e-05/8.064, allocations: 39.98 kB / 3.681 GB, free: 78.17 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.07e-05/8.064, allocations: 29.3 kB / 3.681 GB, free: 78.14 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/8.065, allocations: 0.5943 MB / 3.682 GB, free: 77.54 MB / 0.8855 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.005018/8.07, allocations: 4.57 MB / 3.687 GB, free: 72.68 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006126/8.071, allocations: 437.4 kB / 3.687 GB, free: 72.23 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002266/8.071, allocations: 105.1 kB / 3.687 GB, free: 72.11 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/8.071, allocations: 34.56 kB / 3.687 GB, free: 72.07 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=43): time 2.284e-06/8.071, allocations: 0 / 3.687 GB, free: 72.07 MB / 0.8855 GB Notification: Performance of matching and sorting (n=45): time 0.003363/8.075, allocations: 1.548 MB / 3.689 GB, free: 70.45 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.578e-05/8.075, allocations: 110.8 kB / 3.689 GB, free: 70.32 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007657/8.076, allocations: 0.6249 MB / 3.689 GB, free: 69.69 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.547e-05/8.076, allocations: 37.7 kB / 3.689 GB, free: 69.64 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002704/8.076, allocations: 423.7 kB / 3.69 GB, free: 69.23 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001477/8.076, allocations: 165.6 kB / 3.69 GB, free: 69.06 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.383e-05/8.076, allocations: 15.94 kB / 3.69 GB, free: 69.05 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001242/8.076, allocations: 386.8 kB / 3.69 GB, free: 68.66 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002366/8.076, allocations: 181.3 kB / 3.69 GB, free: 68.48 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003544/8.077, allocations: 411.6 kB / 3.691 GB, free: 67.98 MB / 0.8855 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.001411/8.078, allocations: 0.6381 MB / 3.691 GB, free: 67.32 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/8.078, allocations: 4 kB / 3.691 GB, free: 67.32 MB / 0.8855 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.000876/8.079, allocations: 0.6583 MB / 3.692 GB, free: 66.65 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/8.079, allocations: 8 kB / 3.692 GB, free: 66.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/8.079, allocations: 4 kB / 3.692 GB, free: 66.64 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.908e-05/8.079, allocations: 12 kB / 3.692 GB, free: 66.63 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000448/8.08, allocations: 119.8 kB / 3.692 GB, free: 66.51 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.67e-05/8.08, allocations: 24.36 kB / 3.692 GB, free: 66.49 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006798/8.08, allocations: 55.81 kB / 3.692 GB, free: 66.43 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-05/8.08, allocations: 28 kB / 3.692 GB, free: 66.41 MB / 0.8855 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 () * Number of clocked 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.0004186/8.081, allocations: 273.5 kB / 3.693 GB, free: 66.13 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/8.081, allocations: 87.02 kB / 3.693 GB, free: 66.04 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001665/8.081, allocations: 95.66 kB / 3.693 GB, free: 65.95 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/8.081, allocations: 4 kB / 3.693 GB, free: 65.94 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/8.081, allocations: 0 / 3.693 GB, free: 65.94 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005602/8.082, allocations: 0.6846 MB / 3.693 GB, free: 65.17 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002097/8.084, allocations: 1.606 MB / 3.695 GB, free: 63.46 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/8.084, allocations: 4 kB / 3.695 GB, free: 63.46 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000443/8.084, allocations: 95.89 kB / 3.695 GB, free: 63.36 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.206e-06/8.084, allocations: 8.094 kB / 3.695 GB, free: 63.36 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.253e-05/8.084, allocations: 23.97 kB / 3.695 GB, free: 63.33 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.822e-06/8.084, allocations: 11.95 kB / 3.695 GB, free: 63.32 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/8.084, allocations: 7.938 kB / 3.695 GB, free: 63.31 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009871/8.085, allocations: 1.056 MB / 3.696 GB, free: 62.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002912/8.086, allocations: 204.1 kB / 3.696 GB, free: 61.88 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.975e-05/8.086, allocations: 15.98 kB / 3.696 GB, free: 61.87 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004953/8.086, allocations: 43.97 kB / 3.696 GB, free: 61.82 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.932e-05/8.086, allocations: 35.86 kB / 3.696 GB, free: 61.79 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.12e-05/8.086, allocations: 19.98 kB / 3.697 GB, free: 61.77 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0005268/8.087, allocations: 0.5029 MB / 3.697 GB, free: 61.27 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/8.087, allocations: 3.938 kB / 3.697 GB, free: 61.27 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001484/8.088, allocations: 363.9 kB / 3.697 GB, free: 60.91 MB / 0.8855 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 () * Number of clocked 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.002426/8.091, allocations: 1.674 MB / 3.699 GB, free: 59.16 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0006817/8.092, allocations: 468 kB / 3.699 GB, free: 58.7 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/8.092, allocations: 0 / 3.699 GB, free: 58.7 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002212/8.092, allocations: 209.4 kB / 3.7 GB, free: 58.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001804/8.094, allocations: 451.9 kB / 3.7 GB, free: 58.06 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002411/8.096, allocations: 1.972 MB / 3.702 GB, free: 56.01 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00045/8.097, allocations: 1.04 MB / 3.703 GB, free: 54.95 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0006519/8.097, allocations: 202.9 kB / 3.703 GB, free: 54.74 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/8.097, allocations: 59.44 kB / 3.703 GB, free: 54.68 MB / 0.8855 GB Notification: Performance of SimCode: time 1.553e-06/8.097, allocations: 0 / 3.703 GB, free: 54.68 MB / 0.8855 GB Notification: Performance of Templates: time 0.04639/8.144, allocations: 33.88 MB / 3.736 GB, free: 20.94 MB / 0.8855 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