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.005767/0.005767, allocations: 99.83 kB / 15.73 MB, free: 6.02 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.001201/0.001201, allocations: 193.6 kB / 16.67 MB, free: 5.934 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 15.05 MB / 206.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.367/2.367, allocations: 390.2 MB / 0.6648 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 63.89 kB / 0.9509 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.053/1.054, allocations: 140.4 MB / 1.088 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.2809/1.335, allocations: 190.5 MB / 1.274 GB, free: 15.14 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01095/1.346, allocations: 5.706 MB / 1.28 GB, free: 9.422 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002924/1.349, allocations: 39.75 kB / 1.28 GB, free: 9.383 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.003149/1.352, allocations: 0.5903 MB / 1.28 GB, free: 8.789 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.007151/1.359, allocations: 1.676 MB / 1.282 GB, free: 7.105 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004567/1.364, allocations: 1.208 MB / 1.283 GB, free: 5.902 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004488/1.368, allocations: 2.575 MB / 1.285 GB, free: 3.324 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001892/1.37, allocations: 1.037 MB / 1.287 GB, free: 2.27 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002698/1.373, allocations: 1.078 MB / 1.288 GB, free: 1.188 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002358/1.375, allocations: 0.8497 MB / 1.288 GB, free: 348 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0004897/1.376, allocations: 108 kB / 1.288 GB, free: 240 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004441/1.38, allocations: 1.567 MB / 1.29 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000902/1.381, allocations: 0.491 MB / 1.291 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.00152/1.383, allocations: 0.6454 MB / 1.291 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00474/1.388, allocations: 2.184 MB / 1.293 GB, free: 11.33 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.245e-06/1.388, allocations: 4 kB / 1.293 GB, free: 11.33 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.855e-06/1.388, allocations: 0 / 1.293 GB, free: 11.33 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.966e-05/1.388, allocations: 0 / 1.293 GB, free: 11.33 MB / 1.029 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.003663/1.391, allocations: 1.552 MB / 1.295 GB, free: 9.723 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/1.391, allocations: 16.03 kB / 1.295 GB, free: 9.707 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003154/1.395, allocations: 486.7 kB / 1.295 GB, free: 9.23 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001791/1.396, allocations: 0.8599 MB / 1.296 GB, free: 8.328 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.964e-05/1.396, allocations: 66 kB / 1.296 GB, free: 8.262 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001449/1.397, allocations: 84 kB / 1.296 GB, free: 8.18 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002307/1.399, allocations: 1.182 MB / 1.297 GB, free: 6.977 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.492e-05/1.399, allocations: 0 / 1.297 GB, free: 6.977 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001144/1.399, allocations: 40 kB / 1.297 GB, free: 6.938 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.74e-05/1.399, allocations: 33.98 kB / 1.297 GB, free: 6.902 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002358/1.401, allocations: 1.07 MB / 1.299 GB, free: 5.832 MB / 1.029 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.007517/1.409, allocations: 4.316 MB / 1.303 GB, free: 1.25 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001992/1.411, allocations: 0.7404 MB / 1.303 GB, free: 0.5 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009329/1.412, allocations: 404.4 kB / 1.304 GB, free: 104 kB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002382/1.412, allocations: 101.1 kB / 1.304 GB, free: 15.98 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/1.412, allocations: 42.56 kB / 1.304 GB, free: 15.93 MB / 1.045 GB Notification: Performance of pre-optimization done (n=43): time 3.266e-06/1.412, allocations: 0 / 1.304 GB, free: 15.93 MB / 1.045 GB Notification: Performance of matching and sorting (n=45): time 0.006151/1.418, allocations: 2.2 MB / 1.306 GB, free: 13.68 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/1.418, allocations: 59.34 kB / 1.306 GB, free: 13.61 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/1.42, allocations: 0.8647 MB / 1.307 GB, free: 12.74 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.671e-05/1.42, allocations: 33.7 kB / 1.307 GB, free: 12.7 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003785/1.42, allocations: 0.5079 MB / 1.308 GB, free: 12.19 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.000176/1.42, allocations: 162.6 kB / 1.308 GB, free: 12.03 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000229/1.421, allocations: 122.3 kB / 1.308 GB, free: 11.91 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001382/1.421, allocations: 330 kB / 1.308 GB, free: 11.58 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009897/1.422, allocations: 369 kB / 1.308 GB, free: 11.22 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001079/1.423, allocations: 0.5051 MB / 1.309 GB, free: 10.66 MB / 1.045 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.006282/1.429, allocations: 2.259 MB / 1.311 GB, free: 8.332 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/1.429, allocations: 0 / 1.311 GB, free: 8.332 MB / 1.045 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002529/1.432, allocations: 0.9904 MB / 1.312 GB, free: 7.332 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/1.432, allocations: 18.05 kB / 1.312 GB, free: 7.316 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/1.432, allocations: 4 kB / 1.312 GB, free: 7.312 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.473e-05/1.432, allocations: 8 kB / 1.312 GB, free: 7.305 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009906/1.433, allocations: 187.7 kB / 1.312 GB, free: 7.121 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.495e-05/1.433, allocations: 15.92 kB / 1.312 GB, free: 7.105 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001155/1.434, allocations: 67.94 kB / 1.312 GB, free: 7.039 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.87e-05/1.434, allocations: 20 kB / 1.312 GB, free: 7.02 MB / 1.045 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.0006035/1.435, allocations: 316.5 kB / 1.313 GB, free: 6.703 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002718/1.435, allocations: 103.4 kB / 1.313 GB, free: 6.602 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002757/1.435, allocations: 108.7 kB / 1.313 GB, free: 6.492 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/1.435, allocations: 7.938 kB / 1.313 GB, free: 6.484 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/1.435, allocations: 0 / 1.313 GB, free: 6.484 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002112/1.437, allocations: 1.022 MB / 1.314 GB, free: 5.375 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005265/1.443, allocations: 2.133 MB / 1.316 GB, free: 3.145 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/1.443, allocations: 8 kB / 1.316 GB, free: 3.137 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008894/1.443, allocations: 160.1 kB / 1.316 GB, free: 2.98 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.521e-05/1.444, allocations: 11.94 kB / 1.316 GB, free: 2.969 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.393e-05/1.444, allocations: 23.92 kB / 1.316 GB, free: 2.945 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.286e-06/1.444, allocations: 4 kB / 1.316 GB, free: 2.941 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.307e-06/1.444, allocations: 11.92 kB / 1.316 GB, free: 2.93 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003205/1.447, allocations: 1.411 MB / 1.318 GB, free: 1.465 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005963/1.447, allocations: 260.4 kB / 1.318 GB, free: 1.191 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002155/1.448, allocations: 19.98 kB / 1.318 GB, free: 1.172 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/1.449, allocations: 63.94 kB / 1.318 GB, free: 1.109 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.898e-05/1.449, allocations: 43.83 kB / 1.318 GB, free: 1.066 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.605e-05/1.449, allocations: 31.97 kB / 1.318 GB, free: 1.035 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0008837/1.45, allocations: 0.6004 MB / 1.319 GB, free: 452 kB / 1.045 GB Notification: Performance of sort global known variables: time 1.3e-07/1.45, allocations: 0 / 1.319 GB, free: 452 kB / 1.045 GB Notification: Performance of remove unused functions: time 0.001042/1.451, allocations: 275.9 kB / 1.319 GB, free: 176 kB / 1.045 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.0005929/1.451, allocations: 201.1 kB / 1.319 GB, free: 15.97 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002262/1.454, allocations: 0.8188 MB / 1.32 GB, free: 15.15 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/1.454, allocations: 0 / 1.32 GB, free: 15.15 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001007/1.455, allocations: 393 kB / 1.32 GB, free: 14.77 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002802/1.458, allocations: 0.5774 MB / 1.321 GB, free: 14.2 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00538/1.463, allocations: 2.215 MB / 1.323 GB, free: 11.91 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008972/1.464, allocations: 1.11 MB / 1.324 GB, free: 10.77 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0009619/1.465, allocations: 259.8 kB / 1.324 GB, free: 10.51 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003059/1.465, allocations: 79.41 kB / 1.324 GB, free: 10.43 MB / 1.061 GB Notification: Performance of SimCode: time 1.433e-06/1.465, allocations: 0 / 1.324 GB, free: 10.43 MB / 1.061 GB Notification: Performance of Templates: time 0.03682/1.502, allocations: 21.09 MB / 1.345 GB, free: 5.695 MB / 1.076 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