Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.407/1.407, allocations: 251.9 MB / 266.9 MB, free: 11 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.001154/0.001154, allocations: 182.6 kB / 326.5 MB, free: 2.234 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.794/1.794, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.0009129/0.0009128, allocations: 94.3 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000355/0.0003548, allocations: 10 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.2081, allocations: 106.3 MB / 0.9001 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.422/5.63, allocations: 2.193 GB / 3.093 GB, free: 245.5 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000336/5.63, allocations: 92.78 kB / 3.093 GB, free: 245.5 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.681/7.311, allocations: 0.5512 GB / 3.644 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.683e-06/7.311, allocations: 4 kB / 3.644 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001332/7.311, allocations: 32.11 kB / 3.644 GB, free: 111.7 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.003705/7.315, allocations: 1.386 MB / 3.645 GB, free: 110.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/7.315, allocations: 8.031 kB / 3.645 GB, free: 110.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001812/7.317, allocations: 314.2 kB / 3.646 GB, free: 109.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001551/7.318, allocations: 0.8091 MB / 3.647 GB, free: 109.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003166/7.319, allocations: 129.9 kB / 3.647 GB, free: 109 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/7.319, allocations: 91.98 kB / 3.647 GB, free: 108.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001682/7.32, allocations: 1.059 MB / 3.648 GB, free: 107.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.503e-05/7.321, allocations: 0 / 3.648 GB, free: 107.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.264e-05/7.321, allocations: 40 kB / 3.648 GB, free: 107.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.4e-05/7.321, allocations: 37.89 kB / 3.648 GB, free: 107.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001329/7.322, allocations: 0.8158 MB / 3.649 GB, free: 106.9 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.005098/7.327, allocations: 4.061 MB / 3.653 GB, free: 102.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004755/7.328, allocations: 376.2 kB / 3.653 GB, free: 102.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002041/7.328, allocations: 97.09 kB / 3.653 GB, free: 102.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/7.328, allocations: 46.52 kB / 3.653 GB, free: 102 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=36): time 3.166e-06/7.328, allocations: 0 / 3.653 GB, free: 102 MB / 0.8855 GB Notification: Performance of matching and sorting (n=38): time 0.002402/7.33, allocations: 1.29 MB / 3.654 GB, free: 100.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/7.33, allocations: 59.16 kB / 3.654 GB, free: 100.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001095/7.331, allocations: 0.8943 MB / 3.655 GB, free: 99.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.949e-05/7.331, allocations: 37.7 kB / 3.655 GB, free: 99.66 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002987/7.332, allocations: 499.3 kB / 3.656 GB, free: 99.16 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/7.332, allocations: 142 kB / 3.656 GB, free: 99.02 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.842e-05/7.332, allocations: 16 kB / 3.656 GB, free: 99.01 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001035/7.332, allocations: 322 kB / 3.656 GB, free: 98.69 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003937/7.332, allocations: 233.2 kB / 3.657 GB, free: 98.46 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005023/7.333, allocations: 426.9 kB / 3.657 GB, free: 97.96 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001563/7.335, allocations: 0.7047 MB / 3.658 GB, free: 97.24 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/7.335, allocations: 7.938 kB / 3.658 GB, free: 97.23 MB / 0.8855 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001215/7.336, allocations: 0.7353 MB / 3.658 GB, free: 96.49 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/7.336, allocations: 19.88 kB / 3.658 GB, free: 96.47 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/7.336, allocations: 8 kB / 3.658 GB, free: 96.46 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.383e-05/7.336, allocations: 8.25 kB / 3.658 GB, free: 96.45 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005167/7.336, allocations: 139.8 kB / 3.658 GB, free: 96.32 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.416e-05/7.336, allocations: 11.98 kB / 3.659 GB, free: 96.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/7.337, allocations: 103.7 kB / 3.659 GB, free: 96.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.625e-05/7.338, allocations: 28.06 kB / 3.659 GB, free: 96.18 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (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.000668/7.338, allocations: 325.8 kB / 3.659 GB, free: 95.85 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/7.338, allocations: 94.88 kB / 3.659 GB, free: 95.75 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001796/7.339, allocations: 113.1 kB / 3.659 GB, free: 95.64 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/7.339, allocations: 7.938 kB / 3.659 GB, free: 95.64 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/7.339, allocations: 0 / 3.659 GB, free: 95.64 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005481/7.339, allocations: 0.6636 MB / 3.66 GB, free: 94.89 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002217/7.341, allocations: 1.592 MB / 3.661 GB, free: 93.19 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/7.341, allocations: 4 kB / 3.661 GB, free: 93.18 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003706/7.342, allocations: 83.91 kB / 3.661 GB, free: 93.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.03e-05/7.342, allocations: 8 kB / 3.661 GB, free: 93.09 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.021e-05/7.342, allocations: 15.98 kB / 3.661 GB, free: 93.08 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-06/7.342, allocations: 11.89 kB / 3.661 GB, free: 93.07 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/7.342, allocations: 4 kB / 3.661 GB, free: 93.06 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00094/7.343, allocations: 1.038 MB / 3.662 GB, free: 91.88 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004537/7.343, allocations: 247.8 kB / 3.663 GB, free: 91.61 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/7.343, allocations: 11.98 kB / 3.663 GB, free: 91.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007157/7.344, allocations: 67.8 kB / 3.663 GB, free: 91.54 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.989e-05/7.344, allocations: 39.86 kB / 3.663 GB, free: 91.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.912e-05/7.344, allocations: 27.98 kB / 3.663 GB, free: 91.47 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0008979/7.345, allocations: 0.7118 MB / 3.664 GB, free: 90.75 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.21e-07/7.345, allocations: 0 / 3.664 GB, free: 90.75 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001546/7.347, allocations: 375.9 kB / 3.664 GB, free: 90.38 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],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 (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.002144/7.349, allocations: 1.329 MB / 3.665 GB, free: 89 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0009357/7.35, allocations: 491.8 kB / 3.666 GB, free: 88.52 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/7.35, allocations: 0 / 3.666 GB, free: 88.52 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002164/7.35, allocations: 180.4 kB / 3.666 GB, free: 88.35 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002517/7.353, allocations: 0.6072 MB / 3.666 GB, free: 87.74 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002801/7.355, allocations: 2.196 MB / 3.669 GB, free: 85.46 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005104/7.356, allocations: 1.126 MB / 3.67 GB, free: 84.31 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0009972/7.357, allocations: 236.2 kB / 3.67 GB, free: 84.07 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001635/7.357, allocations: 67.44 kB / 3.67 GB, free: 84.01 MB / 0.8855 GB Notification: Performance of SimCode: time 1.283e-06/7.357, allocations: 0 / 3.67 GB, free: 84.01 MB / 0.8855 GB Notification: Performance of Templates: time 0.04816/7.405, allocations: 34.47 MB / 3.704 GB, free: 49.73 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches