Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.501/2.501, allocations: 390.5 MB / 398 MB, free: 10.94 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.001393/0.001393, allocations: 172.9 kB / 491.2 MB, free: 1.555 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.778/1.778, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.00114/0.00114, allocations: 87.97 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.841e-05/2.845e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3807/0.3808, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.762/7.143, allocations: 1.92 GB / 3.132 GB, free: 344.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/7.143, allocations: 88.44 kB / 3.132 GB, free: 344.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.114/9.258, allocations: 0.5659 GB / 3.698 GB, free: 226.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.104e-06/9.258, allocations: 0 / 3.698 GB, free: 226.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001415/9.258, allocations: 31.95 kB / 3.698 GB, free: 226.7 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.003705/9.262, allocations: 1.23 MB / 3.7 GB, free: 225.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/9.262, allocations: 8.031 kB / 3.7 GB, free: 225.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002363/9.264, allocations: 327.9 kB / 3.7 GB, free: 225.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001949/9.266, allocations: 0.794 MB / 3.701 GB, free: 224.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003437/9.266, allocations: 105.9 kB / 3.701 GB, free: 224.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002482/9.267, allocations: 48 kB / 3.701 GB, free: 224.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001435/9.268, allocations: 0.6833 MB / 3.701 GB, free: 223.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001622/9.27, allocations: 0.8718 MB / 3.702 GB, free: 222.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.783e-05/9.27, allocations: 0 / 3.702 GB, free: 222.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/9.27, allocations: 4 kB / 3.702 GB, free: 222.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.343e-05/9.27, allocations: 33.98 kB / 3.702 GB, free: 222.5 MB / 1.151 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.005594/9.275, allocations: 3.812 MB / 3.706 GB, free: 218.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005381/9.276, allocations: 343.8 kB / 3.706 GB, free: 218.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002511/9.276, allocations: 201.4 kB / 3.707 GB, free: 218 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001933/9.276, allocations: 104.8 kB / 3.707 GB, free: 217.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.432e-05/9.276, allocations: 42.5 kB / 3.707 GB, free: 217.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=36): time 2.084e-06/9.277, allocations: 0 / 3.707 GB, free: 217.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=38): time 0.002492/9.279, allocations: 1.087 MB / 3.708 GB, free: 216.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/9.279, allocations: 59.34 kB / 3.708 GB, free: 216.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007033/9.28, allocations: 0.5544 MB / 3.708 GB, free: 216 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.651e-05/9.28, allocations: 33.09 kB / 3.708 GB, free: 216 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002847/9.28, allocations: 0.4944 MB / 3.709 GB, free: 215.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/9.28, allocations: 134.1 kB / 3.709 GB, free: 215.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.646e-05/9.28, allocations: 0 / 3.709 GB, free: 215.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001273/9.28, allocations: 374.8 kB / 3.709 GB, free: 215 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002441/9.281, allocations: 197.5 kB / 3.71 GB, free: 214.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003492/9.281, allocations: 346.7 kB / 3.71 GB, free: 214.4 MB / 1.151 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.001781/9.283, allocations: 0.6999 MB / 3.711 GB, free: 213.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/9.283, allocations: 4 kB / 3.711 GB, free: 213.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0009407/9.284, allocations: 0.6026 MB / 3.711 GB, free: 213.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/9.284, allocations: 12.03 kB / 3.711 GB, free: 213.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/9.284, allocations: 4 kB / 3.711 GB, free: 213 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.643e-05/9.284, allocations: 15.98 kB / 3.711 GB, free: 213 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000529/9.284, allocations: 139.8 kB / 3.711 GB, free: 212.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/9.284, allocations: 8 kB / 3.711 GB, free: 212.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000908/9.285, allocations: 83.77 kB / 3.711 GB, free: 212.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.993e-05/9.285, allocations: 32 kB / 3.711 GB, free: 212.8 MB / 1.151 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 71 * 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.0001517/9.286, allocations: 124.8 kB / 3.712 GB, free: 212.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/9.286, allocations: 86.95 kB / 3.712 GB, free: 212.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001688/9.286, allocations: 71.23 kB / 3.712 GB, free: 212.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/9.286, allocations: 4 kB / 3.712 GB, free: 212.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.908e-06/9.286, allocations: 0 / 3.712 GB, free: 212.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005633/9.286, allocations: 0.6476 MB / 3.712 GB, free: 211.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001985/9.288, allocations: 1.425 MB / 3.714 GB, free: 210.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/9.288, allocations: 4 kB / 3.714 GB, free: 210.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003501/9.289, allocations: 87.83 kB / 3.714 GB, free: 210.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/9.289, allocations: 8 kB / 3.714 GB, free: 210.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.744e-05/9.289, allocations: 4 kB / 3.714 GB, free: 210.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/9.289, allocations: 16.39 kB / 3.714 GB, free: 210.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.458e-06/9.289, allocations: 11.94 kB / 3.714 GB, free: 210.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008565/9.29, allocations: 0.9591 MB / 3.715 GB, free: 209 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002488/9.29, allocations: 212.2 kB / 3.715 GB, free: 208.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.714e-05/9.29, allocations: 4 kB / 3.715 GB, free: 208.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006293/9.291, allocations: 55.8 kB / 3.715 GB, free: 208.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.171e-05/9.291, allocations: 35.86 kB / 3.715 GB, free: 208.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.51e-05/9.291, allocations: 36.06 kB / 3.715 GB, free: 208.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004488/9.291, allocations: 435.1 kB / 3.716 GB, free: 208.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.91e-07/9.291, allocations: 0 / 3.716 GB, free: 208.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001148/9.293, allocations: 327.9 kB / 3.716 GB, free: 207.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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.00199/9.295, allocations: 1.503 MB / 3.717 GB, free: 206.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0006875/9.295, allocations: 415.6 kB / 3.718 GB, free: 206.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/9.295, allocations: 4 kB / 3.718 GB, free: 206.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.00019/9.295, allocations: 173.8 kB / 3.718 GB, free: 205.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001839/9.297, allocations: 406.5 kB / 3.718 GB, free: 205.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00259/9.3, allocations: 1.366 MB / 3.72 GB, free: 204.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006103/9.3, allocations: 1.117 MB / 3.721 GB, free: 202.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008118/9.301, allocations: 198.1 kB / 3.721 GB, free: 202.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001565/9.301, allocations: 55.44 kB / 3.721 GB, free: 202.7 MB / 1.151 GB Notification: Performance of SimCode: time 1.022e-06/9.301, allocations: 0 / 3.721 GB, free: 202.7 MB / 1.151 GB Notification: Performance of Templates: time 0.03917/9.341, allocations: 20.4 MB / 3.741 GB, free: 182.5 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches