Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 165 kB / 23.01 MB, free: 1.555 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9996/0.9996, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.278/2.278, allocations: 429.5 MB / 0.6733 GB, free: 4.02 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|gain.y|volDyn.C.[0-9,]+.|volSte.C.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|gain.y|volDyn.C.[0-9,]+.|volSte.C.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.8782 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.524e-05/2.68e-05, allocations: 5.578 kB / 0.8782 GB, free: 6.293 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.1398/0.1398, allocations: 151 MB / 1.026 GB, free: 14.76 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.004346/0.1442, allocations: 3.834 MB / 1.029 GB, free: 10.92 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003815/0.1445, allocations: 55.5 kB / 1.029 GB, free: 10.86 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.000638/0.1452, allocations: 297.8 kB / 1.03 GB, free: 10.57 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001453/0.1466, allocations: 1.177 MB / 1.031 GB, free: 9.387 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001043/0.1477, allocations: 0.8926 MB / 1.032 GB, free: 8.492 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002073/0.1497, allocations: 2.985 MB / 1.035 GB, free: 5.496 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007414/0.1505, allocations: 0.8441 MB / 1.036 GB, free: 4.629 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001139/0.1516, allocations: 1.375 MB / 1.037 GB, free: 3.25 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001051/0.1527, allocations: 0.9325 MB / 1.038 GB, free: 2.332 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.000132/0.1528, allocations: 124 kB / 1.038 GB, free: 2.211 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000563/0.1534, allocations: 0.5026 MB / 1.038 GB, free: 1.707 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003915/0.1538, allocations: 0.6234 MB / 1.039 GB, free: 1.082 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004118/0.1542, allocations: 0.534 MB / 1.04 GB, free: 0.5469 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001194/0.1554, allocations: 1.375 MB / 1.041 GB, free: 15.17 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.1554, allocations: 0 / 1.041 GB, free: 15.17 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1554, allocations: 0 / 1.041 GB, free: 15.17 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.137e-05/0.1554, allocations: 0 / 1.041 GB, free: 15.17 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.00161/0.157, allocations: 1.624 MB / 1.042 GB, free: 13.5 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.157, allocations: 16.02 kB / 1.042 GB, free: 13.49 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001127/0.1582, allocations: 455.3 kB / 1.043 GB, free: 13.04 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009128/0.1591, allocations: 0.8495 MB / 1.044 GB, free: 12.17 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/0.1592, allocations: 74.12 kB / 1.044 GB, free: 12.09 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.1593, allocations: 115.9 kB / 1.044 GB, free: 11.98 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009819/0.1603, allocations: 1.127 MB / 1.045 GB, free: 10.72 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.1603, allocations: 0 / 1.045 GB, free: 10.72 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.293e-05/0.1604, allocations: 44 kB / 1.045 GB, free: 10.68 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.702e-05/0.1604, allocations: 41.98 kB / 1.045 GB, free: 10.64 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006217/0.161, allocations: 395.7 kB / 1.045 GB, free: 10.25 MB / 1.01 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.003098/0.1641, allocations: 2.487 MB / 1.048 GB, free: 7.711 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004316/0.1646, allocations: 353.2 kB / 1.048 GB, free: 7.352 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001919/0.1647, allocations: 141.7 kB / 1.048 GB, free: 7.207 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001237/0.1649, allocations: 36.47 kB / 1.048 GB, free: 7.172 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.1649, allocations: 45.89 kB / 1.048 GB, free: 7.117 MB / 1.01 GB Notification: Performance of pre-optimization done (n=53): time 1.703e-06/0.1649, allocations: 0 / 1.048 GB, free: 7.117 MB / 1.01 GB Notification: Performance of matching and sorting (n=55): time 0.001795/0.1667, allocations: 1.181 MB / 1.05 GB, free: 5.891 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.722e-05/0.1667, allocations: 59.91 kB / 1.05 GB, free: 5.82 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004988/0.1672, allocations: 0.6595 MB / 1.05 GB, free: 5.145 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.572e-05/0.1673, allocations: 37.7 kB / 1.05 GB, free: 5.102 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002769/0.1675, allocations: 0.5846 MB / 1.051 GB, free: 4.508 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/0.1677, allocations: 222.2 kB / 1.051 GB, free: 4.289 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001411/0.1678, allocations: 132.3 kB / 1.051 GB, free: 4.152 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.168, allocations: 0.5625 MB / 1.052 GB, free: 3.578 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001704/0.1681, allocations: 101.9 kB / 1.052 GB, free: 3.48 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003068/0.1684, allocations: 352.6 kB / 1.052 GB, free: 3.055 MB / 1.01 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0009014/0.1693, allocations: 0.6652 MB / 1.053 GB, free: 2.316 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.1693, allocations: 4 kB / 1.053 GB, free: 2.312 MB / 1.01 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0006749/0.17, allocations: 0.5623 MB / 1.053 GB, free: 1.73 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.17, allocations: 14.75 kB / 1.053 GB, free: 1.719 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.17, allocations: 8 kB / 1.053 GB, free: 1.711 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001297/0.1702, allocations: 63.03 kB / 1.054 GB, free: 1.637 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003721/0.1705, allocations: 151.8 kB / 1.054 GB, free: 1.488 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.51/0.6805, allocations: 5.257 MB / 1.059 GB, free: 72.7 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008573/0.6814, allocations: 19.66 kB / 1.059 GB, free: 72.7 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.044e-05/0.6814, allocations: 30.28 kB / 1.059 GB, free: 72.7 MB / 1.01 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003422/0.6818, allocations: 198.6 kB / 1.059 GB, free: 72.54 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.6819, allocations: 109.4 kB / 1.059 GB, free: 72.54 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.913e-05/0.682, allocations: 93.17 kB / 1.059 GB, free: 72.52 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.682, allocations: 6.875 kB / 1.059 GB, free: 72.52 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.682, allocations: 3.625 kB / 1.059 GB, free: 72.52 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005047/0.6825, allocations: 481.9 kB / 1.06 GB, free: 72.26 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001635/0.6841, allocations: 1.406 MB / 1.061 GB, free: 71.79 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.6841, allocations: 2.781 kB / 1.061 GB, free: 71.79 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003502/0.6845, allocations: 134.8 kB / 1.061 GB, free: 71.79 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.464e-05/0.6846, allocations: 31.55 kB / 1.061 GB, free: 71.78 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.349e-05/0.6846, allocations: 20.53 kB / 1.061 GB, free: 71.78 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006298/0.6852, allocations: 1.783 MB / 1.063 GB, free: 70.07 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.6852, allocations: 7.281 kB / 1.063 GB, free: 70.07 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006828/0.6859, allocations: 0.7552 MB / 1.064 GB, free: 69.7 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002371/0.6862, allocations: 162.6 kB / 1.064 GB, free: 69.7 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.554e-05/0.6862, allocations: 14.06 kB / 1.064 GB, free: 69.7 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003273/0.6865, allocations: 33.53 kB / 1.064 GB, free: 69.7 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.903e-05/0.6866, allocations: 52.14 kB / 1.064 GB, free: 69.7 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.732e-05/0.6867, allocations: 33.72 kB / 1.064 GB, free: 69.7 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003045/0.687, allocations: 422 kB / 1.064 GB, free: 69.56 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.687, allocations: 0 / 1.064 GB, free: 69.56 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0006882/0.6877, allocations: 300.6 kB / 1.065 GB, free: 69.56 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000276/0.688, allocations: 159.7 kB / 1.065 GB, free: 69.47 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.000749/0.6887, allocations: 0.8546 MB / 1.066 GB, free: 68.95 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.6887, allocations: 4.062 kB / 1.066 GB, free: 68.95 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002439/0.689, allocations: 360.4 kB / 1.066 GB, free: 68.76 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001296/0.6902, allocations: 0.5229 MB / 1.067 GB, free: 68.75 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002461/0.6927, allocations: 1.838 MB / 1.068 GB, free: 67.86 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002033/0.6929, allocations: 283.6 kB / 1.069 GB, free: 67.78 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0005532/0.6935, allocations: 188.4 kB / 1.069 GB, free: 67.76 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/0.6936, allocations: 67.8 kB / 1.069 GB, free: 67.75 MB / 1.01 GB Notification: Performance of SimCode: time 2.334e-06/0.6936, allocations: 0.9375 kB / 1.069 GB, free: 67.75 MB / 1.01 GB Notification: Performance of Templates: time 0.02754/0.7212, allocations: 19.64 MB / 1.088 GB, free: 66.03 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.966750618070364]