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.397/2.397, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.001119/0.001119, allocations: 183.2 kB / 498.1 MB, free: 5.746 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.716/1.716, allocations: 223.2 MB / 0.7948 GB, free: 17.89 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.000908/0.0009081, allocations: 99.77 kB / 0.9346 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004082/0.0004085, allocations: 16.59 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.33, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.652/4.982, allocations: 1.931 GB / 3.153 GB, free: 56.52 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00027/4.982, allocations: 90.7 kB / 3.154 GB, free: 56.47 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.943/7.926, allocations: 0.6008 GB / 3.754 GB, free: 307.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.364e-06/7.926, allocations: 0 / 3.754 GB, free: 307.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001534/7.926, allocations: 26.17 kB / 3.754 GB, free: 307.6 MB / 1.167 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.00518/7.931, allocations: 1.244 MB / 3.756 GB, free: 306.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 7.271e-05/7.931, allocations: 11.84 kB / 3.756 GB, free: 306.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00205/7.933, allocations: 215.9 kB / 3.756 GB, free: 306.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00243/7.936, allocations: 0.6652 MB / 3.756 GB, free: 306.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.627e-05/7.936, allocations: 63.5 kB / 3.757 GB, free: 306.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003196/7.936, allocations: 75.88 kB / 3.757 GB, free: 306.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002263/7.939, allocations: 0.9058 MB / 3.757 GB, free: 306.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.747e-05/7.939, allocations: 10.45 kB / 3.757 GB, free: 306.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001141/7.939, allocations: 31.78 kB / 3.758 GB, free: 306.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.794e-05/7.939, allocations: 28.62 kB / 3.758 GB, free: 306.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001322/7.94, allocations: 0.5898 MB / 3.758 GB, free: 306.4 MB / 1.167 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.006136/7.946, allocations: 4.573 MB / 3.763 GB, free: 303.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008162/7.947, allocations: 454.1 kB / 3.763 GB, free: 303.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002395/7.947, allocations: 105.2 kB / 3.763 GB, free: 303.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.26e-05/7.947, allocations: 55.52 kB / 3.763 GB, free: 303 MB / 1.167 GB Notification: Performance of pre-optimization done (n=43): time 4.198e-06/7.947, allocations: 0 / 3.763 GB, free: 303 MB / 1.167 GB Notification: Performance of matching and sorting (n=45): time 0.003469/7.951, allocations: 1.546 MB / 3.765 GB, free: 302.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/7.951, allocations: 115.6 kB / 3.765 GB, free: 302.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008462/7.952, allocations: 0.62 MB / 3.765 GB, free: 302.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.667e-05/7.952, allocations: 39.66 kB / 3.765 GB, free: 302.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002796/7.952, allocations: 420.5 kB / 3.766 GB, free: 302 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000146/7.952, allocations: 164.3 kB / 3.766 GB, free: 301.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.623e-05/7.952, allocations: 11.09 kB / 3.766 GB, free: 301.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.427e-05/7.952, allocations: 335.6 kB / 3.766 GB, free: 301.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002707/7.953, allocations: 180.2 kB / 3.766 GB, free: 301.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004013/7.953, allocations: 420.1 kB / 3.767 GB, free: 301.4 MB / 1.167 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.001599/7.955, allocations: 0.6718 MB / 3.768 GB, free: 301.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.211e-06/7.955, allocations: 2.938 kB / 3.768 GB, free: 301.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001023/7.956, allocations: 0.6549 MB / 3.768 GB, free: 301.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/7.956, allocations: 7.438 kB / 3.768 GB, free: 301.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/7.956, allocations: 7.469 kB / 3.768 GB, free: 301.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.351e-05/7.956, allocations: 14.22 kB / 3.768 GB, free: 301.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004663/7.956, allocations: 122.7 kB / 3.768 GB, free: 301.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.081e-05/7.956, allocations: 18.02 kB / 3.768 GB, free: 301.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00081/7.957, allocations: 56.33 kB / 3.768 GB, free: 301.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.611e-05/7.957, allocations: 28.66 kB / 3.768 GB, free: 301.2 MB / 1.167 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.0005677/7.958, allocations: 276.7 kB / 3.769 GB, free: 301.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002021/7.958, allocations: 89.94 kB / 3.769 GB, free: 301 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002042/7.958, allocations: 84.64 kB / 3.769 GB, free: 301 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/7.958, allocations: 3.688 kB / 3.769 GB, free: 301 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/7.958, allocations: 0 / 3.769 GB, free: 301 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006628/7.959, allocations: 0.6923 MB / 3.77 GB, free: 300.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002757/7.962, allocations: 1.603 MB / 3.771 GB, free: 300 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/7.962, allocations: 9.656 kB / 3.771 GB, free: 300 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004506/7.962, allocations: 102.9 kB / 3.771 GB, free: 300 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.447e-05/7.962, allocations: 3.719 kB / 3.771 GB, free: 300 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.925e-05/7.962, allocations: 24.77 kB / 3.771 GB, free: 300 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.897e-06/7.962, allocations: 2.75 kB / 3.771 GB, free: 300 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/7.962, allocations: 9.656 kB / 3.771 GB, free: 300 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001188/7.964, allocations: 1.027 MB / 3.772 GB, free: 299.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004241/7.964, allocations: 198.5 kB / 3.772 GB, free: 299.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001559/7.964, allocations: 17.73 kB / 3.772 GB, free: 299.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000603/7.965, allocations: 40.97 kB / 3.772 GB, free: 299.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.331e-05/7.965, allocations: 41.7 kB / 3.773 GB, free: 299.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.774e-05/7.965, allocations: 17.22 kB / 3.773 GB, free: 299.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0007117/7.966, allocations: 0.5101 MB / 3.773 GB, free: 299.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.322e-06/7.966, allocations: 3.938 kB / 3.773 GB, free: 299.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001773/7.967, allocations: 367.5 kB / 3.773 GB, free: 299.2 MB / 1.167 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 () * 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.00363/7.971, allocations: 1.672 MB / 3.775 GB, free: 298.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001028/7.972, allocations: 467.6 kB / 3.775 GB, free: 298.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/7.972, allocations: 1.594 kB / 3.775 GB, free: 298.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003057/7.972, allocations: 202.2 kB / 3.776 GB, free: 298.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002502/7.975, allocations: 465 kB / 3.776 GB, free: 298.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003411/7.978, allocations: 1.986 MB / 3.778 GB, free: 297.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006816/7.979, allocations: 1.047 MB / 3.779 GB, free: 297.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0009275/7.98, allocations: 196.4 kB / 3.779 GB, free: 297 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002118/7.98, allocations: 61.44 kB / 3.779 GB, free: 297 MB / 1.167 GB Notification: Performance of SimCode: time 1.553e-06/7.98, allocations: 3.594 kB / 3.779 GB, free: 297 MB / 1.167 GB Notification: Performance of Templates: time 0.04995/8.03, allocations: 33.76 MB / 3.812 GB, free: 294.9 MB / 1.167 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