Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001824/0.001824, allocations: 115.3 kB / 15.34 MB, free: 0.5117 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002622/0.002623, allocations: 192 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.503/2.503, allocations: 390.2 MB / 0.6643 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002208/0.002208, allocations: 63.91 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7457/0.7479, allocations: 140.4 MB / 0.9491 GB, free: 9.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2059/0.9538, allocations: 188 MB / 1.133 GB, free: 5.402 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.008696/0.9626, allocations: 5.679 MB / 1.138 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001302/0.9639, allocations: 35.81 kB / 1.138 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001421/0.9654, allocations: 0.5053 MB / 1.139 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004115/0.9695, allocations: 1.72 MB / 1.14 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002707/0.9722, allocations: 1.084 MB / 1.141 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003332/0.9756, allocations: 2.948 MB / 1.144 GB, free: 9.406 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001517/0.9771, allocations: 1.093 MB / 1.145 GB, free: 8.293 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001924/0.979, allocations: 1.062 MB / 1.146 GB, free: 7.227 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001799/0.9809, allocations: 1.033 MB / 1.147 GB, free: 6.195 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001794/0.9811, allocations: 127.9 kB / 1.148 GB, free: 6.07 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002557/0.9836, allocations: 1.516 MB / 1.149 GB, free: 4.551 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005129/0.9841, allocations: 0.5728 MB / 1.15 GB, free: 3.977 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0006904/0.9848, allocations: 0.7234 MB / 1.15 GB, free: 3.25 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002525/0.9874, allocations: 2.415 MB / 1.153 GB, free: 0.8281 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.9874, allocations: 0 / 1.153 GB, free: 0.8281 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.794e-06/0.9874, allocations: 0 / 1.153 GB, free: 0.8281 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.488e-05/0.9874, allocations: 0 / 1.153 GB, free: 0.8281 MB / 0.9044 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.002378/0.9898, allocations: 1.62 MB / 1.154 GB, free: 15.16 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.9898, allocations: 12.03 kB / 1.154 GB, free: 15.14 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001973/0.9918, allocations: 326.2 kB / 1.155 GB, free: 14.82 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001254/0.9931, allocations: 0.8707 MB / 1.155 GB, free: 13.91 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.828e-05/0.9932, allocations: 73.98 kB / 1.156 GB, free: 13.84 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001435/0.9933, allocations: 100 kB / 1.156 GB, free: 13.74 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001795/0.9951, allocations: 1.093 MB / 1.157 GB, free: 12.64 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.617e-05/0.9952, allocations: 4 kB / 1.157 GB, free: 12.63 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.966e-05/0.9953, allocations: 40 kB / 1.157 GB, free: 12.59 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.403e-05/0.9953, allocations: 41.98 kB / 1.157 GB, free: 12.55 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001592/0.9969, allocations: 0.9876 MB / 1.158 GB, free: 11.57 MB / 0.92 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.005771/1.003, allocations: 4.251 MB / 1.162 GB, free: 7.02 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008869/1.004, allocations: 0.594 MB / 1.162 GB, free: 6.414 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005029/1.004, allocations: 342.5 kB / 1.163 GB, free: 6.078 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002111/1.004, allocations: 105.5 kB / 1.163 GB, free: 5.957 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/1.004, allocations: 43 kB / 1.163 GB, free: 5.906 MB / 0.92 GB Notification: Performance of pre-optimization done (n=53): time 3.527e-06/1.004, allocations: 8 kB / 1.163 GB, free: 5.898 MB / 0.92 GB Notification: Performance of matching and sorting (n=55): time 0.004083/1.008, allocations: 2.193 MB / 1.165 GB, free: 3.586 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/1.009, allocations: 59.91 kB / 1.165 GB, free: 3.516 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/1.01, allocations: 0.8804 MB / 1.166 GB, free: 2.625 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.006e-05/1.01, allocations: 45.64 kB / 1.166 GB, free: 2.574 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003352/1.01, allocations: 0.5184 MB / 1.167 GB, free: 2.047 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001586/1.01, allocations: 201.2 kB / 1.167 GB, free: 1.848 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001914/1.01, allocations: 126.6 kB / 1.167 GB, free: 1.719 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000111/1.01, allocations: 330 kB / 1.167 GB, free: 1.391 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004721/1.011, allocations: 289.8 kB / 1.167 GB, free: 1.105 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005783/1.012, allocations: 433 kB / 1.168 GB, free: 0.6328 MB / 0.92 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.003813/1.015, allocations: 1.747 MB / 1.17 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/1.015, allocations: 0 / 1.17 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001456/1.017, allocations: 0.922 MB / 1.17 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/1.017, allocations: 8 kB / 1.17 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/1.017, allocations: 7.984 kB / 1.17 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002203/1.017, allocations: 98.78 kB / 1.171 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007532/1.018, allocations: 171.6 kB / 1.171 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003493/1.021, allocations: 4.632 MB / 1.175 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001019/1.022, allocations: 71.73 kB / 1.175 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.745e-05/1.022, allocations: 28 kB / 1.175 GB, free: 8.441 MB / 0.9356 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.0005632/1.023, allocations: 351.4 kB / 1.176 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001521/1.023, allocations: 98.88 kB / 1.176 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001855/1.023, allocations: 109.2 kB / 1.176 GB, free: 7.883 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/1.023, allocations: 4 kB / 1.176 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/1.023, allocations: 3.984 kB / 1.176 GB, free: 7.875 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001054/1.024, allocations: 0.7691 MB / 1.177 GB, free: 7.051 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002922/1.027, allocations: 1.987 MB / 1.179 GB, free: 4.965 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/1.027, allocations: 4.406 kB / 1.179 GB, free: 4.961 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006715/1.028, allocations: 147.8 kB / 1.179 GB, free: 4.816 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.277e-05/1.028, allocations: 40.83 kB / 1.179 GB, free: 4.773 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.241e-05/1.028, allocations: 16 kB / 1.179 GB, free: 4.758 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001181/1.029, allocations: 1.61 MB / 1.18 GB, free: 3.004 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/1.029, allocations: 7.938 kB / 1.18 GB, free: 2.996 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001651/1.031, allocations: 1.207 MB / 1.182 GB, free: 1.73 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003699/1.031, allocations: 255.9 kB / 1.182 GB, free: 1.461 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/1.032, allocations: 20 kB / 1.182 GB, free: 1.441 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000818/1.032, allocations: 75.77 kB / 1.182 GB, free: 1.367 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/1.033, allocations: 47.61 kB / 1.182 GB, free: 1.32 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.098e-05/1.033, allocations: 31.98 kB / 1.182 GB, free: 1.289 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0008174/1.033, allocations: 0.6122 MB / 1.183 GB, free: 0.6797 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/1.033, allocations: 0 / 1.183 GB, free: 0.6797 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001005/1.034, allocations: 312 kB / 1.183 GB, free: 384 kB / 0.9356 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.0005281/1.035, allocations: 192.3 kB / 1.183 GB, free: 196 kB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001679/1.037, allocations: 1.116 MB / 1.184 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.686e-06/1.037, allocations: 1 kB / 1.184 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0006036/1.037, allocations: 450.7 kB / 1.185 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00254/1.04, allocations: 0.6347 MB / 1.185 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003373/1.043, allocations: 2.53 MB / 1.188 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007094/1.044, allocations: 1.174 MB / 1.189 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0009845/1.045, allocations: 252.4 kB / 1.189 GB, free: 9.914 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002231/1.045, allocations: 79.42 kB / 1.189 GB, free: 9.836 MB / 0.9512 GB Notification: Performance of SimCode: time 8.22e-07/1.045, allocations: 0 / 1.189 GB, free: 9.836 MB / 0.9512 GB Notification: Performance of Templates: time 0.03714/1.082, allocations: 22.08 MB / 1.211 GB, free: 4.086 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches