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.0009313/0.0009312, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.006671/0.006671, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.46/1.46, allocations: 223.3 MB / 240.3 MB, free: 5.324 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.462/2.462, allocations: 390.9 MB / 0.6663 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003788/0.000379, allocations: 12 kB / 0.8159 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.794/0.7944, allocations: 142.4 MB / 0.955 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.1979/0.9923, allocations: 185.8 MB / 1.136 GB, free: 4.898 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01004/1.002, allocations: 5.717 MB / 1.142 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001535/1.004, allocations: 31.75 kB / 1.142 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001679/1.006, allocations: 0.4975 MB / 1.143 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.00488/1.011, allocations: 1.517 MB / 1.144 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003386/1.014, allocations: 1.08 MB / 1.145 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004557/1.019, allocations: 3.525 MB / 1.149 GB, free: 8.512 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001482/1.02, allocations: 0.8602 MB / 1.149 GB, free: 7.633 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002249/1.022, allocations: 0.8635 MB / 1.15 GB, free: 6.766 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002194/1.024, allocations: 0.8415 MB / 1.151 GB, free: 5.926 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.000241/1.025, allocations: 44 kB / 1.151 GB, free: 5.883 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003217/1.028, allocations: 1.718 MB / 1.153 GB, free: 4.16 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0006147/1.029, allocations: 446.7 kB / 1.153 GB, free: 3.723 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0009865/1.03, allocations: 0.5808 MB / 1.154 GB, free: 3.133 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003264/1.033, allocations: 2.157 MB / 1.156 GB, free: 0.9688 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/1.033, allocations: 4 kB / 1.156 GB, free: 0.9648 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.092e-06/1.033, allocations: 4 kB / 1.156 GB, free: 0.9609 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.852e-05/1.033, allocations: 0 / 1.156 GB, free: 0.9609 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.002404/1.035, allocations: 1.289 MB / 1.157 GB, free: 15.62 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/1.035, allocations: 8.031 kB / 1.157 GB, free: 15.61 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003042/1.038, allocations: 0.4943 MB / 1.158 GB, free: 15.11 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001663/1.04, allocations: 0.8201 MB / 1.158 GB, free: 14.25 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003751/1.041, allocations: 129.9 kB / 1.159 GB, free: 14.12 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001646/1.041, allocations: 99.88 kB / 1.159 GB, free: 14.03 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002509/1.043, allocations: 1.194 MB / 1.16 GB, free: 12.81 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.086e-05/1.043, allocations: 7.938 kB / 1.16 GB, free: 12.8 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001088/1.043, allocations: 43.98 kB / 1.16 GB, free: 12.76 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.669e-05/1.043, allocations: 34 kB / 1.16 GB, free: 12.73 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002492/1.046, allocations: 1.109 MB / 1.161 GB, free: 11.61 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.006771/1.053, allocations: 4.397 MB / 1.165 GB, free: 6.953 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002076/1.055, allocations: 0.7873 MB / 1.166 GB, free: 6.156 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009969/1.056, allocations: 428.3 kB / 1.166 GB, free: 5.738 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001821/1.056, allocations: 105.1 kB / 1.167 GB, free: 5.617 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.984e-05/1.056, allocations: 42.56 kB / 1.167 GB, free: 5.566 MB / 0.92 GB Notification: Performance of pre-optimization done (n=43): time 2.344e-06/1.056, allocations: 0 / 1.167 GB, free: 5.566 MB / 0.92 GB Notification: Performance of matching and sorting (n=45): time 0.006055/1.062, allocations: 2.288 MB / 1.169 GB, free: 3.223 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/1.062, allocations: 55.41 kB / 1.169 GB, free: 3.156 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/1.063, allocations: 0.8647 MB / 1.17 GB, free: 2.285 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.933e-05/1.063, allocations: 33.7 kB / 1.17 GB, free: 2.246 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003551/1.064, allocations: 499.3 kB / 1.17 GB, free: 1.75 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001631/1.064, allocations: 169.6 kB / 1.17 GB, free: 1.582 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.881e-05/1.064, allocations: 53.69 kB / 1.17 GB, free: 1.523 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001191/1.064, allocations: 330 kB / 1.171 GB, free: 1.195 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009896/1.065, allocations: 389 kB / 1.171 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001095/1.066, allocations: 0.5247 MB / 1.172 GB, free: 244 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.006367/1.073, allocations: 2.391 MB / 1.174 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/1.073, allocations: 0 / 1.174 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002425/1.075, allocations: 1.021 MB / 1.175 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/1.075, allocations: 7.984 kB / 1.175 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/1.075, allocations: 4 kB / 1.175 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/1.075, allocations: 11.94 kB / 1.175 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009592/1.076, allocations: 211.8 kB / 1.175 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.621e-05/1.076, allocations: 15.92 kB / 1.175 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/1.077, allocations: 111.8 kB / 1.175 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-05/1.077, allocations: 24 kB / 1.175 GB, free: 12.37 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 sytem: 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.0005461/1.078, allocations: 305.6 kB / 1.176 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001787/1.078, allocations: 98.88 kB / 1.176 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002353/1.078, allocations: 112.7 kB / 1.176 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/1.078, allocations: 4 kB / 1.176 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/1.078, allocations: 0 / 1.176 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002266/1.081, allocations: 1.077 MB / 1.177 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005632/1.086, allocations: 2.207 MB / 1.179 GB, free: 8.383 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/1.086, allocations: 0 / 1.179 GB, free: 8.383 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001042/1.087, allocations: 187.9 kB / 1.179 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.541e-05/1.087, allocations: 4 kB / 1.179 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.284e-05/1.087, allocations: 19.94 kB / 1.179 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.671e-05/1.087, allocations: 15.92 kB / 1.179 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/1.087, allocations: 4 kB / 1.179 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00349/1.091, allocations: 1.48 MB / 1.181 GB, free: 6.621 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006472/1.092, allocations: 252 kB / 1.181 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002869/1.092, allocations: 15.98 kB / 1.181 GB, free: 6.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001203/1.093, allocations: 117.7 kB / 1.181 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/1.093, allocations: 35.95 kB / 1.181 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.809e-05/1.093, allocations: 27.98 kB / 1.181 GB, free: 6.164 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001037/1.094, allocations: 0.6005 MB / 1.182 GB, free: 5.566 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.3e-07/1.094, allocations: 0 / 1.182 GB, free: 5.566 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001112/1.096, allocations: 268 kB / 1.182 GB, free: 5.305 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.0005496/1.096, allocations: 206.7 kB / 1.182 GB, free: 5.102 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002355/1.098, allocations: 0.8547 MB / 1.183 GB, free: 4.246 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/1.098, allocations: 0 / 1.183 GB, free: 4.246 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001056/1.1, allocations: 417 kB / 1.183 GB, free: 3.84 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003386/1.103, allocations: 0.5606 MB / 1.184 GB, free: 3.293 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005468/1.108, allocations: 2.642 MB / 1.187 GB, free: 0.5781 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007973/1.109, allocations: 1.118 MB / 1.188 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001156/1.11, allocations: 259.8 kB / 1.188 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003086/1.111, allocations: 75.42 kB / 1.188 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of SimCode: time 1.102e-06/1.111, allocations: 0 / 1.188 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of Templates: time 0.03189/1.143, allocations: 20.08 MB / 1.208 GB, free: 11.33 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