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.669/2.669, allocations: 390.3 MB / 402.8 MB, free: 6.707 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.001002/0.001002, allocations: 192.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.619/1.619, allocations: 221.3 MB / 0.7915 GB, free: 5.434 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.0009254/0.0009254, allocations: 95.94 kB / 0.9318 GB, free: 5.746 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.685e-05/4.694e-05, allocations: 7.984 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3353, allocations: 143 MB / 1.219 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.678/7.013, allocations: 1.931 GB / 3.15 GB, free: 327.5 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/7.013, allocations: 85.95 kB / 3.15 GB, free: 327.5 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.418/9.431, allocations: 0.6003 GB / 3.75 GB, free: 182.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.503e-06/9.431, allocations: 0 / 3.75 GB, free: 182.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001134/9.431, allocations: 27.98 kB / 3.75 GB, free: 182.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.003248/9.435, allocations: 1.135 MB / 3.752 GB, free: 181.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/9.435, allocations: 8.031 kB / 3.752 GB, free: 181.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001565/9.436, allocations: 214.5 kB / 3.752 GB, free: 181.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001735/9.438, allocations: 0.6641 MB / 3.752 GB, free: 180.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.19e-05/9.438, allocations: 58 kB / 3.752 GB, free: 180.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002303/9.438, allocations: 79.98 kB / 3.753 GB, free: 180.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/9.44, allocations: 0.8899 MB / 3.753 GB, free: 179.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.943e-05/9.44, allocations: 0 / 3.753 GB, free: 179.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.677e-05/9.44, allocations: 36 kB / 3.753 GB, free: 179.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.666e-05/9.44, allocations: 25.31 kB / 3.753 GB, free: 179.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/9.441, allocations: 0.5866 MB / 3.754 GB, free: 178.7 MB / 1.167 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.00461/9.446, allocations: 4.57 MB / 3.759 GB, free: 173.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006589/9.447, allocations: 445.7 kB / 3.759 GB, free: 173.4 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002655/9.447, allocations: 233.1 kB / 3.759 GB, free: 173.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001862/9.447, allocations: 101.1 kB / 3.759 GB, free: 173 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/9.447, allocations: 42.56 kB / 3.759 GB, free: 173 MB / 1.167 GB Notification: Performance of pre-optimization done (n=43): time 3.226e-06/9.447, allocations: 0 / 3.759 GB, free: 173 MB / 1.167 GB Notification: Performance of matching and sorting (n=45): time 0.002477/9.45, allocations: 1.414 MB / 3.761 GB, free: 171.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.161e-05/9.45, allocations: 114.9 kB / 3.761 GB, free: 171.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000655/9.45, allocations: 0.6133 MB / 3.761 GB, free: 170.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.999e-05/9.45, allocations: 37.7 kB / 3.761 GB, free: 170.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002104/9.451, allocations: 415.9 kB / 3.762 GB, free: 170.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/9.451, allocations: 165.6 kB / 3.762 GB, free: 170.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.246e-05/9.451, allocations: 12 kB / 3.762 GB, free: 170.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.249e-05/9.451, allocations: 330 kB / 3.762 GB, free: 169.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002344/9.451, allocations: 173.5 kB / 3.762 GB, free: 169.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003303/9.451, allocations: 416.9 kB / 3.763 GB, free: 169.1 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.001469/9.453, allocations: 0.6649 MB / 3.764 GB, free: 168.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/9.453, allocations: 0 / 3.764 GB, free: 168.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008105/9.454, allocations: 0.6538 MB / 3.764 GB, free: 167.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/9.454, allocations: 12.12 kB / 3.764 GB, free: 167.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/9.454, allocations: 8.094 kB / 3.764 GB, free: 167.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.846e-05/9.454, allocations: 11.98 kB / 3.764 GB, free: 167.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004082/9.454, allocations: 131.8 kB / 3.764 GB, free: 167.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.461e-05/9.454, allocations: 11.94 kB / 3.764 GB, free: 167.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006423/9.455, allocations: 51.88 kB / 3.764 GB, free: 167.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.725e-05/9.455, allocations: 28 kB / 3.764 GB, free: 167.5 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 () * 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.0001396/9.455, allocations: 149.8 kB / 3.765 GB, free: 167.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/9.455, allocations: 83.02 kB / 3.765 GB, free: 167.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002016/9.455, allocations: 95.38 kB / 3.765 GB, free: 167.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/9.455, allocations: 8 kB / 3.765 GB, free: 167.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.956e-06/9.455, allocations: 8 kB / 3.765 GB, free: 167.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005803/9.456, allocations: 0.6832 MB / 3.765 GB, free: 166.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002007/9.458, allocations: 1.594 MB / 3.767 GB, free: 164.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/9.458, allocations: 4 kB / 3.767 GB, free: 164.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004128/9.458, allocations: 108.2 kB / 3.767 GB, free: 164.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/9.458, allocations: 8 kB / 3.767 GB, free: 164.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.108e-05/9.459, allocations: 16 kB / 3.767 GB, free: 164.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/9.459, allocations: 11.94 kB / 3.767 GB, free: 164.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/9.459, allocations: 4 kB / 3.767 GB, free: 164.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009363/9.459, allocations: 1.019 MB / 3.768 GB, free: 163.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002583/9.46, allocations: 200.1 kB / 3.768 GB, free: 163.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.976e-05/9.46, allocations: 16 kB / 3.768 GB, free: 163.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004609/9.46, allocations: 43.81 kB / 3.768 GB, free: 163.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.316e-05/9.46, allocations: 43.91 kB / 3.768 GB, free: 163 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.982e-05/9.46, allocations: 20 kB / 3.768 GB, free: 163 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0005307/9.461, allocations: 0.4913 MB / 3.769 GB, free: 162.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.01e-07/9.461, allocations: 3.938 kB / 3.769 GB, free: 162.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001401/9.462, allocations: 368 kB / 3.769 GB, free: 162.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 () * 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.002362/9.465, allocations: 1.666 MB / 3.771 GB, free: 160.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0008292/9.466, allocations: 459.6 kB / 3.771 GB, free: 160 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/9.466, allocations: 0 / 3.771 GB, free: 160 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002326/9.466, allocations: 206.4 kB / 3.771 GB, free: 159.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002062/9.468, allocations: 458.1 kB / 3.772 GB, free: 159.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001983/9.47, allocations: 1.303 MB / 3.773 GB, free: 158 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004252/9.47, allocations: 1.048 MB / 3.774 GB, free: 156.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0006957/9.471, allocations: 194.9 kB / 3.774 GB, free: 156.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/9.471, allocations: 67.36 kB / 3.774 GB, free: 156.6 MB / 1.167 GB Notification: Performance of SimCode: time 8.02e-07/9.471, allocations: 0 / 3.774 GB, free: 156.6 MB / 1.167 GB Notification: Performance of Templates: time 0.05075/9.522, allocations: 38.08 MB / 3.812 GB, free: 118.7 MB / 1.167 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