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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008913/0.0008912, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 182.9 kB / 16.92 MB, free: 6.672 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.376/1.376, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.459/2.459, allocations: 390.9 MB / 0.667 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003469/0.000347, allocations: 12 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7248/0.7252, allocations: 142.4 MB / 0.9557 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.2007/0.9259, allocations: 185.8 MB / 1.137 GB, free: 4.902 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.009725/0.9357, allocations: 5.718 MB / 1.143 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001491/0.9372, allocations: 35.75 kB / 1.143 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001561/0.9388, allocations: 0.4935 MB / 1.143 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004354/0.9432, allocations: 1.517 MB / 1.145 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003418/0.9466, allocations: 1.08 MB / 1.146 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004709/0.9513, allocations: 3.532 MB / 1.149 GB, free: 8.508 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001492/0.9528, allocations: 0.8523 MB / 1.15 GB, free: 7.637 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00218/0.955, allocations: 0.879 MB / 1.151 GB, free: 6.754 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002171/0.9572, allocations: 0.8332 MB / 1.152 GB, free: 5.922 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001784/0.9574, allocations: 44 kB / 1.152 GB, free: 5.879 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003474/0.9609, allocations: 1.718 MB / 1.153 GB, free: 4.156 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0006167/0.9616, allocations: 442.7 kB / 1.154 GB, free: 3.723 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0009382/0.9625, allocations: 0.5809 MB / 1.154 GB, free: 3.133 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002333/0.9648, allocations: 1.594 MB / 1.156 GB, free: 1.535 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.9649, allocations: 4 kB / 1.156 GB, free: 1.531 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.124e-06/0.9649, allocations: 0 / 1.156 GB, free: 1.531 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.842e-05/0.9649, allocations: 0 / 1.156 GB, free: 1.531 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.002307/0.9672, allocations: 1.289 MB / 1.157 GB, free: 192 kB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.9673, allocations: 15.97 kB / 1.157 GB, free: 176 kB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003051/0.9703, allocations: 0.4904 MB / 1.158 GB, free: 15.68 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001465/0.9718, allocations: 0.824 MB / 1.159 GB, free: 14.81 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003609/0.9722, allocations: 125.9 kB / 1.159 GB, free: 14.69 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/0.9723, allocations: 91.94 kB / 1.159 GB, free: 14.6 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002321/0.9747, allocations: 1.194 MB / 1.16 GB, free: 13.38 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/0.9747, allocations: 3.938 kB / 1.16 GB, free: 13.38 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/0.9748, allocations: 39.94 kB / 1.16 GB, free: 13.34 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.815e-05/0.9749, allocations: 41.98 kB / 1.16 GB, free: 13.3 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002419/0.9773, allocations: 1.109 MB / 1.161 GB, free: 12.19 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.007221/0.9845, allocations: 4.393 MB / 1.165 GB, free: 7.531 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00211/0.9867, allocations: 0.799 MB / 1.166 GB, free: 6.723 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009951/0.9877, allocations: 422 kB / 1.167 GB, free: 6.309 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000195/0.9879, allocations: 109.1 kB / 1.167 GB, free: 6.184 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.867e-05/0.9879, allocations: 38.56 kB / 1.167 GB, free: 6.137 MB / 0.92 GB Notification: Performance of pre-optimization done (n=43): time 2.094e-06/0.9879, allocations: 0 / 1.167 GB, free: 6.137 MB / 0.92 GB Notification: Performance of matching and sorting (n=45): time 0.006497/0.9944, allocations: 2.28 MB / 1.169 GB, free: 3.801 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.9945, allocations: 63.39 kB / 1.169 GB, free: 3.727 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001279/0.9958, allocations: 0.8608 MB / 1.17 GB, free: 2.859 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.96e-05/0.9959, allocations: 41.7 kB / 1.17 GB, free: 2.812 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004035/0.9963, allocations: 495.3 kB / 1.17 GB, free: 2.32 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001884/0.9965, allocations: 165.6 kB / 1.17 GB, free: 2.156 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.9966, allocations: 57.69 kB / 1.171 GB, free: 2.094 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.9967, allocations: 326 kB / 1.171 GB, free: 1.77 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001031/0.9978, allocations: 393 kB / 1.171 GB, free: 1.383 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001129/0.9989, allocations: 0.5247 MB / 1.172 GB, free: 0.8086 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.006571/1.006, allocations: 2.379 MB / 1.174 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/1.006, allocations: 4 kB / 1.174 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002569/1.008, allocations: 1.025 MB / 1.175 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/1.008, allocations: 9.406 kB / 1.175 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/1.008, allocations: 4 kB / 1.175 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.969e-05/1.008, allocations: 19.92 kB / 1.175 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009698/1.009, allocations: 215.8 kB / 1.175 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.067e-05/1.009, allocations: 7.984 kB / 1.175 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001265/1.01, allocations: 119.7 kB / 1.175 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.533e-05/1.011, allocations: 20 kB / 1.175 GB, free: 12.94 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.0006068/1.011, allocations: 309.6 kB / 1.176 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000237/1.011, allocations: 98.88 kB / 1.176 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002748/1.012, allocations: 104.7 kB / 1.176 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/1.012, allocations: 4 kB / 1.176 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.988e-06/1.012, allocations: 3.984 kB / 1.176 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00217/1.014, allocations: 1.077 MB / 1.177 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005151/1.019, allocations: 2.207 MB / 1.179 GB, free: 8.949 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/1.019, allocations: 4 kB / 1.179 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000905/1.02, allocations: 183.9 kB / 1.179 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-05/1.02, allocations: 4 kB / 1.179 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.568e-05/1.02, allocations: 20 kB / 1.179 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.166e-05/1.02, allocations: 11.92 kB / 1.179 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/1.02, allocations: 7.938 kB / 1.179 GB, free: 8.723 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003342/1.024, allocations: 1.476 MB / 1.181 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005626/1.024, allocations: 252 kB / 1.181 GB, free: 6.926 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002166/1.024, allocations: 19.98 kB / 1.181 GB, free: 6.906 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/1.025, allocations: 114.2 kB / 1.181 GB, free: 6.797 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.333e-05/1.026, allocations: 35.95 kB / 1.181 GB, free: 6.762 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.985e-05/1.026, allocations: 27.98 kB / 1.181 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0009533/1.027, allocations: 0.6005 MB / 1.182 GB, free: 6.137 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/1.027, allocations: 4 kB / 1.182 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001016/1.028, allocations: 268 kB / 1.182 GB, free: 5.871 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.0005636/1.028, allocations: 215.7 kB / 1.182 GB, free: 5.66 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002274/1.03, allocations: 0.8508 MB / 1.183 GB, free: 4.809 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.765e-06/1.031, allocations: 4 kB / 1.183 GB, free: 4.805 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001042/1.032, allocations: 413 kB / 1.184 GB, free: 4.402 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003304/1.035, allocations: 0.5551 MB / 1.184 GB, free: 3.855 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00563/1.041, allocations: 2.723 MB / 1.187 GB, free: 1.055 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008798/1.041, allocations: 1.106 MB / 1.188 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003955/1.042, allocations: 79.41 kB / 1.188 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of SimCode: time 9.42e-07/1.042, allocations: 4 kB / 1.188 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of Templates: time 0.02873/1.071, allocations: 16.8 MB / 1.204 GB, free: 15.2 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches