Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.005/2.005, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.0009578/0.0009578, allocations: 188.8 kB / 487.4 MB, free: 5.035 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.3/1.3, allocations: 221.5 MB / 0.7824 GB, free: 0.9141 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008383/0.0008383, allocations: 107.8 kB / 0.9219 GB, free: 2.137 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.36e-05/1.354e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2288, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.446/4.675, allocations: 1.919 GB / 3.125 GB, free: 351.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002528/4.675, allocations: 85.12 kB / 3.125 GB, free: 351.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.735/6.411, allocations: 0.5659 GB / 3.691 GB, free: 253.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.573e-06/6.411, allocations: 0 / 3.691 GB, free: 253.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.401e-05/6.411, allocations: 31.91 kB / 3.691 GB, free: 253.1 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.00248/6.413, allocations: 1.237 MB / 3.692 GB, free: 251.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/6.413, allocations: 12.03 kB / 3.692 GB, free: 251.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001721/6.415, allocations: 323.9 kB / 3.693 GB, free: 251.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001215/6.416, allocations: 0.7987 MB / 3.694 GB, free: 250.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003065/6.417, allocations: 109.8 kB / 3.694 GB, free: 250.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.489e-05/6.417, allocations: 48 kB / 3.694 GB, free: 250.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009998/6.418, allocations: 0.6794 MB / 3.694 GB, free: 249.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/6.419, allocations: 0.8755 MB / 3.695 GB, free: 248.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.287e-05/6.419, allocations: 0 / 3.695 GB, free: 248.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.207e-05/6.419, allocations: 0 / 3.695 GB, free: 248.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.585e-05/6.419, allocations: 34 kB / 3.695 GB, free: 248.9 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.004071/6.423, allocations: 3.809 MB / 3.699 GB, free: 244.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004283/6.424, allocations: 339.1 kB / 3.699 GB, free: 244.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000207/6.424, allocations: 196.8 kB / 3.699 GB, free: 244.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001708/6.424, allocations: 106.8 kB / 3.7 GB, free: 244.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/6.424, allocations: 42.52 kB / 3.7 GB, free: 244.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=36): time 1.543e-06/6.424, allocations: 3.281 kB / 3.7 GB, free: 244.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=38): time 0.001813/6.426, allocations: 1.092 MB / 3.701 GB, free: 243 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.766e-05/6.426, allocations: 59.39 kB / 3.701 GB, free: 242.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005381/6.426, allocations: 0.5583 MB / 3.701 GB, free: 242.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.712e-05/6.426, allocations: 25.7 kB / 3.701 GB, free: 242.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002209/6.427, allocations: 0.4944 MB / 3.702 GB, free: 241.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 8.285e-05/6.427, allocations: 134 kB / 3.702 GB, free: 241.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.443e-05/6.427, allocations: 3.938 kB / 3.702 GB, free: 241.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.923e-05/6.427, allocations: 382.8 kB / 3.702 GB, free: 241.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000228/6.427, allocations: 189.5 kB / 3.702 GB, free: 241.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002962/6.427, allocations: 358.7 kB / 3.703 GB, free: 240.7 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.001508/6.429, allocations: 0.6969 MB / 3.703 GB, free: 240 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/6.429, allocations: 0 / 3.703 GB, free: 240 MB / 1.151 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007739/6.43, allocations: 0.6141 MB / 3.704 GB, free: 239.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/6.43, allocations: 11.95 kB / 3.704 GB, free: 239.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/6.43, allocations: 4 kB / 3.704 GB, free: 239.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/6.43, allocations: 8 kB / 3.704 GB, free: 239.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004972/6.43, allocations: 139.8 kB / 3.704 GB, free: 239.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.659e-06/6.43, allocations: 12.02 kB / 3.704 GB, free: 239.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008192/6.431, allocations: 95.73 kB / 3.704 GB, free: 239.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.544e-05/6.431, allocations: 31.98 kB / 3.704 GB, free: 239.1 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.000119/6.431, allocations: 124.8 kB / 3.704 GB, free: 239 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/6.431, allocations: 71.16 kB / 3.705 GB, free: 238.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000139/6.432, allocations: 79.19 kB / 3.705 GB, free: 238.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/6.432, allocations: 4 kB / 3.705 GB, free: 238.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/6.432, allocations: 0 / 3.705 GB, free: 238.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004579/6.432, allocations: 0.6401 MB / 3.705 GB, free: 238.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001715/6.434, allocations: 1.437 MB / 3.707 GB, free: 236.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/6.434, allocations: 4 kB / 3.707 GB, free: 236.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003354/6.434, allocations: 83.91 kB / 3.707 GB, free: 236.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/6.434, allocations: 4 kB / 3.707 GB, free: 236.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.639e-05/6.434, allocations: 12.48 kB / 3.707 GB, free: 236.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/6.434, allocations: 7.938 kB / 3.707 GB, free: 236.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/6.434, allocations: 8 kB / 3.707 GB, free: 236.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007705/6.435, allocations: 0.9534 MB / 3.708 GB, free: 235.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002244/6.435, allocations: 204.2 kB / 3.708 GB, free: 235.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.065e-05/6.435, allocations: 11.98 kB / 3.708 GB, free: 235.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005949/6.436, allocations: 47.86 kB / 3.708 GB, free: 235 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.873e-05/6.436, allocations: 39.86 kB / 3.708 GB, free: 235 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.15e-05/6.436, allocations: 31.98 kB / 3.708 GB, free: 235 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004072/6.436, allocations: 431.1 kB / 3.708 GB, free: 234.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.91e-07/6.436, allocations: 0 / 3.708 GB, free: 234.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001025/6.438, allocations: 323.9 kB / 3.709 GB, free: 234.2 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.001755/6.439, allocations: 1.5 MB / 3.71 GB, free: 232.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0005782/6.44, allocations: 419.4 kB / 3.711 GB, free: 232.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/6.44, allocations: 4 kB / 3.711 GB, free: 232.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001761/6.44, allocations: 177.6 kB / 3.711 GB, free: 232.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001649/6.442, allocations: 405.9 kB / 3.711 GB, free: 231.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00192/6.444, allocations: 1.368 MB / 3.713 GB, free: 230.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004754/6.444, allocations: 1.117 MB / 3.714 GB, free: 229.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0006674/6.445, allocations: 202.1 kB / 3.714 GB, free: 229.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/6.445, allocations: 55.44 kB / 3.714 GB, free: 229 MB / 1.151 GB Notification: Performance of SimCode: time 6.11e-07/6.445, allocations: 0 / 3.714 GB, free: 229 MB / 1.151 GB Notification: Performance of Templates: time 0.02673/6.472, allocations: 20.4 MB / 3.734 GB, free: 208.9 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches