Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.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.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,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.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,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.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001283/0.001283, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.401/1.401, allocations: 222.9 MB / 239.8 MB, free: 4.582 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.423/2.423, allocations: 390.2 MB / 0.6642 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002265/0.002266, allocations: 67.91 kB / 0.8119 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7401/0.7424, allocations: 140.4 MB / 0.9489 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.2214/0.9638, allocations: 188.2 MB / 1.133 GB, free: 5.211 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01061/0.9745, allocations: 5.775 MB / 1.138 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001048/0.9756, allocations: 31.81 kB / 1.138 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001523/0.9771, allocations: 497.4 kB / 1.139 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003917/0.9811, allocations: 1.532 MB / 1.14 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003282/0.9844, allocations: 1.08 MB / 1.141 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003979/0.9884, allocations: 3.525 MB / 1.145 GB, free: 8.762 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001198/0.9896, allocations: 0.8887 MB / 1.146 GB, free: 7.852 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001853/0.9915, allocations: 0.9025 MB / 1.147 GB, free: 6.945 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002017/0.9935, allocations: 0.8911 MB / 1.148 GB, free: 6.055 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001529/0.9937, allocations: 56 kB / 1.148 GB, free: 6 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003664/0.9973, allocations: 1.73 MB / 1.149 GB, free: 4.266 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0006042/0.998, allocations: 462.7 kB / 1.15 GB, free: 3.812 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0008237/0.9988, allocations: 0.583 MB / 1.15 GB, free: 3.227 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003649/1.002, allocations: 2.193 MB / 1.152 GB, free: 1.027 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/1.002, allocations: 4 kB / 1.152 GB, free: 1.023 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.342e-06/1.002, allocations: 0 / 1.152 GB, free: 1.023 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.116e-05/1.003, allocations: 0 / 1.152 GB, free: 1.023 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.002823/1.005, allocations: 1.531 MB / 1.154 GB, free: 15.44 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.438e-05/1.005, allocations: 8.031 kB / 1.154 GB, free: 15.43 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003116/1.009, allocations: 470.1 kB / 1.154 GB, free: 14.97 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001522/1.01, allocations: 0.8162 MB / 1.155 GB, free: 14.11 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000334/1.01, allocations: 125.9 kB / 1.155 GB, free: 13.99 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001401/1.011, allocations: 88 kB / 1.155 GB, free: 13.9 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002296/1.013, allocations: 1.194 MB / 1.157 GB, free: 12.68 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.344e-05/1.013, allocations: 0 / 1.157 GB, free: 12.68 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.841e-05/1.013, allocations: 36 kB / 1.157 GB, free: 12.65 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.694e-05/1.013, allocations: 34 kB / 1.157 GB, free: 12.62 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002319/1.015, allocations: 1.073 MB / 1.158 GB, free: 11.54 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.007165/1.023, allocations: 4.354 MB / 1.162 GB, free: 6.926 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001891/1.024, allocations: 0.756 MB / 1.163 GB, free: 6.16 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008968/1.025, allocations: 408.6 kB / 1.163 GB, free: 5.758 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001921/1.026, allocations: 101.1 kB / 1.163 GB, free: 5.641 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/1.026, allocations: 38.56 kB / 1.163 GB, free: 5.594 MB / 0.92 GB Notification: Performance of pre-optimization done (n=43): time 2.234e-06/1.026, allocations: 4 kB / 1.163 GB, free: 5.59 MB / 0.92 GB Notification: Performance of matching and sorting (n=45): time 0.005849/1.032, allocations: 2.206 MB / 1.165 GB, free: 3.328 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/1.032, allocations: 55.41 kB / 1.165 GB, free: 3.262 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/1.033, allocations: 0.8608 MB / 1.166 GB, free: 2.395 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.821e-05/1.033, allocations: 37.7 kB / 1.166 GB, free: 2.352 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003538/1.033, allocations: 0.4914 MB / 1.167 GB, free: 1.852 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001519/1.033, allocations: 157.7 kB / 1.167 GB, free: 1.695 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002147/1.033, allocations: 126.1 kB / 1.167 GB, free: 1.566 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001192/1.034, allocations: 334 kB / 1.167 GB, free: 1.234 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008921/1.034, allocations: 369 kB / 1.168 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009857/1.035, allocations: 0.5053 MB / 1.168 GB, free: 324 kB / 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.00603/1.042, allocations: 2.293 MB / 1.17 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-06/1.042, allocations: 4 kB / 1.17 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002303/1.044, allocations: 0.9898 MB / 1.171 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/1.044, allocations: 8 kB / 1.171 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/1.044, allocations: 4 kB / 1.171 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.446e-05/1.044, allocations: 16.06 kB / 1.171 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009173/1.045, allocations: 199.7 kB / 1.172 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.42e-05/1.045, allocations: 4 kB / 1.172 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/1.046, allocations: 107.7 kB / 1.172 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.254e-05/1.046, allocations: 24 kB / 1.172 GB, free: 12.59 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 (73): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005527/1.047, allocations: 317.5 kB / 1.172 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/1.047, allocations: 90.97 kB / 1.172 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002024/1.047, allocations: 104.8 kB / 1.172 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/1.047, allocations: 11.94 kB / 1.172 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/1.047, allocations: 0 / 1.172 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00191/1.049, allocations: 1.03 MB / 1.173 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004379/1.053, allocations: 2.156 MB / 1.175 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/1.053, allocations: 4 kB / 1.175 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008429/1.054, allocations: 168.1 kB / 1.175 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.769e-06/1.054, allocations: 8 kB / 1.175 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.573e-05/1.054, allocations: 15.98 kB / 1.176 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.526e-06/1.054, allocations: 11.92 kB / 1.176 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-06/1.054, allocations: 7.938 kB / 1.176 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002939/1.057, allocations: 1.429 MB / 1.177 GB, free: 7.004 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004167/1.058, allocations: 256 kB / 1.177 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001311/1.058, allocations: 15.98 kB / 1.177 GB, free: 6.719 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009558/1.059, allocations: 97.81 kB / 1.177 GB, free: 6.625 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.174e-05/1.059, allocations: 43.83 kB / 1.177 GB, free: 6.582 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.794e-05/1.059, allocations: 35.92 kB / 1.177 GB, free: 6.547 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0007533/1.06, allocations: 0.6005 MB / 1.178 GB, free: 5.949 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.61e-07/1.06, allocations: 0 / 1.178 GB, free: 5.949 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0008933/1.061, allocations: 268 kB / 1.178 GB, free: 5.688 MB / 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 (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005224/1.061, allocations: 207 kB / 1.178 GB, free: 5.488 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001993/1.063, allocations: 0.8118 MB / 1.179 GB, free: 4.68 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/1.063, allocations: 4 kB / 1.179 GB, free: 4.676 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0008924/1.064, allocations: 397 kB / 1.18 GB, free: 4.289 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002384/1.066, allocations: 0.5564 MB / 1.18 GB, free: 3.738 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004991/1.071, allocations: 2.548 MB / 1.183 GB, free: 1.117 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000739/1.072, allocations: 1.11 MB / 1.184 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0009917/1.073, allocations: 263.8 kB / 1.184 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002724/1.074, allocations: 71.42 kB / 1.184 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of SimCode: time 6.61e-07/1.074, allocations: 4 kB / 1.184 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of Templates: time 0.0356/1.109, allocations: 20.18 MB / 1.204 GB, free: 11.78 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches