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.472/1.472, allocations: 249.3 MB / 261.9 MB, free: 5.902 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001046/0.001046, allocations: 174.6 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.631/1.631, allocations: 205.2 MB / 0.572 GB, free: 10.69 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.001026/0.001026, allocations: 96.31 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.97e-05/2.985e-05, allocations: 4 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2335/0.2335, allocations: 106.3 MB / 0.8918 GB, free: 6.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.591/5.825, allocations: 2.193 GB / 3.084 GB, free: 136.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002405/5.825, allocations: 91.88 kB / 3.084 GB, free: 136.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.166/7.991, allocations: 0.5507 GB / 3.635 GB, free: 179.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 8.62e-07/7.991, allocations: 0 / 3.635 GB, free: 179.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.525e-05/7.991, allocations: 31.88 kB / 3.635 GB, free: 179.4 MB / 0.8698 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.002402/7.994, allocations: 1.251 MB / 3.636 GB, free: 178.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/7.994, allocations: 7.781 kB / 3.636 GB, free: 178.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001681/7.995, allocations: 315.3 kB / 3.637 GB, free: 178.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001416/7.997, allocations: 0.8044 MB / 3.637 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003384/7.997, allocations: 131.5 kB / 3.638 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/7.997, allocations: 90.67 kB / 3.638 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001596/7.999, allocations: 1.01 MB / 3.639 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.436e-05/7.999, allocations: 5.688 kB / 3.639 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.329e-05/7.999, allocations: 41.42 kB / 3.639 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.601e-05/7.999, allocations: 38.38 kB / 3.639 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001136/8, allocations: 0.7312 MB / 3.639 GB, free: 178.3 MB / 0.8698 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.004741/8.005, allocations: 4.063 MB / 3.643 GB, free: 176.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004958/8.006, allocations: 367.2 kB / 3.644 GB, free: 176.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002622/8.006, allocations: 211.2 kB / 3.644 GB, free: 176.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001774/8.006, allocations: 98.95 kB / 3.644 GB, free: 176.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/8.006, allocations: 44.94 kB / 3.644 GB, free: 176.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=36): time 2.375e-06/8.006, allocations: 0 / 3.644 GB, free: 176.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=38): time 0.002066/8.008, allocations: 1.153 MB / 3.645 GB, free: 175.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/8.008, allocations: 54.66 kB / 3.645 GB, free: 175.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009949/8.009, allocations: 0.859 MB / 3.646 GB, free: 175.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.623e-05/8.009, allocations: 35.61 kB / 3.646 GB, free: 175.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002934/8.01, allocations: 497.4 kB / 3.647 GB, free: 175.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/8.01, allocations: 142.6 kB / 3.647 GB, free: 175.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.653e-05/8.01, allocations: 8.812 kB / 3.647 GB, free: 175.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.195e-05/8.01, allocations: 332.3 kB / 3.647 GB, free: 175 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002822/8.01, allocations: 190.4 kB / 3.647 GB, free: 175 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003936/8.01, allocations: 389.1 kB / 3.648 GB, free: 174.8 MB / 0.8698 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.001612/8.012, allocations: 0.6712 MB / 3.648 GB, free: 174.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/8.012, allocations: 0 / 3.648 GB, free: 174.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0009657/8.013, allocations: 0.6938 MB / 3.649 GB, free: 174.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/8.013, allocations: 9.156 kB / 3.649 GB, free: 174.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/8.013, allocations: 3 kB / 3.649 GB, free: 174.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/8.013, allocations: 11.56 kB / 3.649 GB, free: 174.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005324/8.014, allocations: 143.9 kB / 3.649 GB, free: 174.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.843e-05/8.014, allocations: 12.38 kB / 3.649 GB, free: 174.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009637/8.015, allocations: 99.53 kB / 3.649 GB, free: 174.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.108e-05/8.015, allocations: 33.69 kB / 3.649 GB, free: 174.5 MB / 0.8698 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 () * 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.0001471/8.015, allocations: 142.7 kB / 3.649 GB, free: 174.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001388/8.015, allocations: 106 kB / 3.65 GB, free: 174.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002074/8.015, allocations: 112.2 kB / 3.65 GB, free: 174.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/8.015, allocations: 3.375 kB / 3.65 GB, free: 174.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/8.015, allocations: 3.562 kB / 3.65 GB, free: 174.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005765/8.016, allocations: 0.6585 MB / 3.65 GB, free: 173.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002164/8.018, allocations: 1.573 MB / 3.652 GB, free: 173.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/8.018, allocations: 6.875 kB / 3.652 GB, free: 173.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003559/8.018, allocations: 87.97 kB / 3.652 GB, free: 173.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-05/8.018, allocations: 9.922 kB / 3.652 GB, free: 173.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.852e-05/8.018, allocations: 16.34 kB / 3.652 GB, free: 173.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/8.018, allocations: 7.219 kB / 3.652 GB, free: 173.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/8.019, allocations: 5.156 kB / 3.652 GB, free: 173.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009241/8.019, allocations: 1.03 MB / 3.653 GB, free: 172.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003687/8.02, allocations: 249.5 kB / 3.653 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/8.02, allocations: 13.12 kB / 3.653 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006902/8.021, allocations: 69.11 kB / 3.653 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.724e-05/8.021, allocations: 28.97 kB / 3.653 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.795e-05/8.021, allocations: 25.84 kB / 3.653 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0007384/8.021, allocations: 0.6757 MB / 3.654 GB, free: 172.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.6e-07/8.022, allocations: 0 / 3.654 GB, free: 172.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001204/8.023, allocations: 376.7 kB / 3.654 GB, free: 172.6 MB / 0.8698 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 () * 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.001809/8.025, allocations: 1.335 MB / 3.656 GB, free: 172.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0007613/8.025, allocations: 446.7 kB / 3.656 GB, free: 172.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/8.025, allocations: 2.656 kB / 3.656 GB, free: 172.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002234/8.026, allocations: 188.3 kB / 3.656 GB, free: 172.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002571/8.028, allocations: 0.5933 MB / 3.657 GB, free: 172.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002207/8.03, allocations: 1.443 MB / 3.658 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005325/8.031, allocations: 1.129 MB / 3.659 GB, free: 171 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0008789/8.032, allocations: 240.9 kB / 3.66 GB, free: 171 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001736/8.032, allocations: 74.34 kB / 3.66 GB, free: 171 MB / 0.8698 GB Notification: Performance of SimCode: time 9.22e-07/8.032, allocations: 0 / 3.66 GB, free: 171 MB / 0.8698 GB Notification: Performance of Templates: time 0.05235/8.084, allocations: 37.98 MB / 3.697 GB, free: 167 MB / 0.8698 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