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.001174/0.001174, allocations: 100.1 kB / 15.88 MB, free: 12 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.001381/0.001381, allocations: 198.1 kB / 16.79 MB, free: 6.809 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.378/1.378, allocations: 222.9 MB / 240.5 MB, free: 4.594 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.439/2.439, allocations: 390.2 MB / 0.6649 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 63.84 kB / 0.8125 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7257/0.7272, allocations: 140.4 MB / 0.9496 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.2007/0.9279, allocations: 188.2 MB / 1.133 GB, free: 5.211 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.009094/0.9371, allocations: 5.783 MB / 1.139 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001394/0.9385, allocations: 35.75 kB / 1.139 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001492/0.94, allocations: 0.4896 MB / 1.14 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003856/0.9439, allocations: 1.529 MB / 1.141 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002955/0.9469, allocations: 1.074 MB / 1.142 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003768/0.9507, allocations: 3.529 MB / 1.146 GB, free: 8.75 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001237/0.9519, allocations: 0.8848 MB / 1.146 GB, free: 7.844 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00175/0.9537, allocations: 0.9064 MB / 1.147 GB, free: 6.934 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00182/0.9555, allocations: 0.8836 MB / 1.148 GB, free: 6.051 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001505/0.9557, allocations: 56 kB / 1.148 GB, free: 5.996 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003264/0.9589, allocations: 1.734 MB / 1.15 GB, free: 4.258 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000493/0.9594, allocations: 470.6 kB / 1.15 GB, free: 3.797 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0006672/0.9601, allocations: 0.5792 MB / 1.151 GB, free: 3.215 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001808/0.9619, allocations: 1.622 MB / 1.153 GB, free: 1.59 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.9619, allocations: 4 kB / 1.153 GB, free: 1.586 MB / 0.9044 GB Notification: Performance of FrontEnd: time 9.91e-07/0.962, allocations: 0 / 1.153 GB, free: 1.586 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.384e-05/0.962, allocations: 0 / 1.153 GB, free: 1.586 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.002469/0.9645, allocations: 1.519 MB / 1.154 GB, free: 12 kB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.9645, allocations: 12.03 kB / 1.154 GB, free: 0 / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003029/0.9675, allocations: 466.3 kB / 1.154 GB, free: 15.54 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001354/0.9689, allocations: 0.82 MB / 1.155 GB, free: 14.68 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003425/0.9693, allocations: 125.9 kB / 1.155 GB, free: 14.55 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001296/0.9694, allocations: 84 kB / 1.155 GB, free: 14.47 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002168/0.9716, allocations: 1.183 MB / 1.157 GB, free: 13.27 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.431e-05/0.9716, allocations: 0 / 1.157 GB, free: 13.27 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.733e-05/0.9717, allocations: 43.94 kB / 1.157 GB, free: 13.22 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.314e-05/0.9718, allocations: 45.92 kB / 1.157 GB, free: 13.18 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002262/0.974, allocations: 1.066 MB / 1.158 GB, free: 12.11 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.007047/0.9811, allocations: 4.358 MB / 1.162 GB, free: 7.496 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001969/0.9831, allocations: 0.7599 MB / 1.163 GB, free: 6.727 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009196/0.984, allocations: 400.6 kB / 1.163 GB, free: 6.332 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002004/0.9842, allocations: 113 kB / 1.163 GB, free: 6.203 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.226e-05/0.9843, allocations: 50.55 kB / 1.163 GB, free: 6.145 MB / 0.92 GB Notification: Performance of pre-optimization done (n=43): time 2.325e-06/0.9843, allocations: 0 / 1.163 GB, free: 6.145 MB / 0.92 GB Notification: Performance of matching and sorting (n=45): time 0.006108/0.9904, allocations: 2.198 MB / 1.165 GB, free: 3.891 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.9905, allocations: 59.39 kB / 1.165 GB, free: 3.82 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001204/0.9917, allocations: 0.8608 MB / 1.166 GB, free: 2.953 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.03e-05/0.9918, allocations: 37.7 kB / 1.166 GB, free: 2.91 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003729/0.9922, allocations: 491.3 kB / 1.167 GB, free: 2.422 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001663/0.9923, allocations: 161.7 kB / 1.167 GB, free: 2.262 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002292/0.9926, allocations: 126.1 kB / 1.167 GB, free: 2.133 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.9927, allocations: 334 kB / 1.167 GB, free: 1.801 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009179/0.9936, allocations: 369 kB / 1.168 GB, free: 1.438 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001019/0.9947, allocations: 0.5102 MB / 1.168 GB, free: 0.8789 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.006023/1.001, allocations: 2.289 MB / 1.17 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/1.001, allocations: 0 / 1.17 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002584/1.003, allocations: 0.9899 MB / 1.171 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.611e-05/1.003, allocations: 8 kB / 1.171 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/1.003, allocations: 4 kB / 1.171 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.818e-05/1.003, allocations: 16.05 kB / 1.171 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009636/1.004, allocations: 191.7 kB / 1.172 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.357e-05/1.004, allocations: 15.92 kB / 1.172 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/1.006, allocations: 103.7 kB / 1.172 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.179e-05/1.006, allocations: 24 kB / 1.172 GB, free: 13.16 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.0006946/1.007, allocations: 315.8 kB / 1.172 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003311/1.007, allocations: 90.97 kB / 1.172 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003246/1.007, allocations: 104.8 kB / 1.172 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/1.007, allocations: 11.94 kB / 1.172 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/1.007, allocations: 7.922 kB / 1.172 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00206/1.009, allocations: 1.03 MB / 1.173 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005007/1.014, allocations: 2.156 MB / 1.175 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/1.014, allocations: 4 kB / 1.175 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008821/1.015, allocations: 168.1 kB / 1.176 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.321e-05/1.015, allocations: 8 kB / 1.176 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.314e-05/1.015, allocations: 12 kB / 1.176 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.051e-05/1.015, allocations: 7.984 kB / 1.176 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/1.015, allocations: 11.88 kB / 1.176 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003057/1.018, allocations: 1.429 MB / 1.177 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005967/1.019, allocations: 255.9 kB / 1.177 GB, free: 7.305 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002178/1.019, allocations: 15.98 kB / 1.177 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/1.02, allocations: 101.8 kB / 1.177 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/1.02, allocations: 39.89 kB / 1.177 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.894e-05/1.021, allocations: 31.98 kB / 1.177 GB, free: 7.121 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0008808/1.021, allocations: 0.6005 MB / 1.178 GB, free: 6.523 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.71e-07/1.021, allocations: 0 / 1.178 GB, free: 6.523 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001056/1.023, allocations: 264 kB / 1.178 GB, free: 6.266 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.0005817/1.023, allocations: 216.6 kB / 1.178 GB, free: 6.055 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002164/1.025, allocations: 0.8157 MB / 1.179 GB, free: 5.242 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/1.025, allocations: 0 / 1.179 GB, free: 5.242 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0009598/1.026, allocations: 397 kB / 1.18 GB, free: 4.855 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00273/1.029, allocations: 0.5595 MB / 1.18 GB, free: 4.305 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005473/1.034, allocations: 2.624 MB / 1.183 GB, free: 1.602 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008226/1.035, allocations: 1.11 MB / 1.184 GB, free: 476 kB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003462/1.036, allocations: 79.42 kB / 1.184 GB, free: 396 kB / 0.9356 GB Notification: Performance of SimCode: time 9.02e-07/1.036, allocations: 0 / 1.184 GB, free: 396 kB / 0.9356 GB Notification: Performance of Templates: time 0.02631/1.062, allocations: 16.93 MB / 1.2 GB, free: 15.62 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