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.007439/0.007439, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001669/0.001669, allocations: 190.6 kB / 16.67 MB, free: 5.93 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.454/1.454, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.288/2.288, allocations: 390.2 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 59.91 kB / 0.9509 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9379/0.9392, allocations: 140.4 MB / 1.088 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.2562/1.195, allocations: 190.5 MB / 1.274 GB, free: 15.16 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01135/1.207, allocations: 5.711 MB / 1.28 GB, free: 9.441 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002062/1.209, allocations: 35.81 kB / 1.28 GB, free: 9.406 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002157/1.211, allocations: 0.5942 MB / 1.28 GB, free: 8.809 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005488/1.217, allocations: 1.672 MB / 1.282 GB, free: 7.129 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004091/1.221, allocations: 1.215 MB / 1.283 GB, free: 5.922 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004265/1.225, allocations: 2.566 MB / 1.285 GB, free: 3.352 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001895/1.227, allocations: 1.041 MB / 1.287 GB, free: 2.293 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002586/1.23, allocations: 1.086 MB / 1.288 GB, free: 1.203 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002189/1.232, allocations: 0.8588 MB / 1.288 GB, free: 352 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003226/1.232, allocations: 108 kB / 1.289 GB, free: 244 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003446/1.236, allocations: 1.555 MB / 1.29 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000746/1.236, allocations: 0.491 MB / 1.291 GB, free: 14.19 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001274/1.238, allocations: 0.6455 MB / 1.291 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003418/1.241, allocations: 2.181 MB / 1.293 GB, free: 11.35 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/1.241, allocations: 0 / 1.293 GB, free: 11.35 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.563e-06/1.241, allocations: 0 / 1.293 GB, free: 11.35 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.843e-05/1.241, allocations: 0 / 1.293 GB, free: 11.35 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.002675/1.244, allocations: 1.519 MB / 1.295 GB, free: 9.781 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/1.244, allocations: 12.03 kB / 1.295 GB, free: 9.77 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003043/1.247, allocations: 474.1 kB / 1.295 GB, free: 9.305 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001573/1.249, allocations: 0.8513 MB / 1.296 GB, free: 8.41 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.545e-05/1.249, allocations: 66 kB / 1.296 GB, free: 8.344 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001423/1.249, allocations: 84 kB / 1.296 GB, free: 8.262 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002152/1.251, allocations: 1.179 MB / 1.297 GB, free: 7.062 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.446e-05/1.251, allocations: 0 / 1.297 GB, free: 7.062 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.329e-05/1.251, allocations: 40 kB / 1.297 GB, free: 7.023 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.485e-05/1.251, allocations: 37.98 kB / 1.297 GB, free: 6.984 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002266/1.253, allocations: 1.07 MB / 1.298 GB, free: 5.914 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.006962/1.26, allocations: 4.3 MB / 1.303 GB, free: 1.348 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001852/1.262, allocations: 0.7466 MB / 1.303 GB, free: 0.5938 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009062/1.263, allocations: 409.9 kB / 1.304 GB, free: 196 kB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002024/1.263, allocations: 97.09 kB / 1.304 GB, free: 80 kB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/1.263, allocations: 38.56 kB / 1.304 GB, free: 32 kB / 1.029 GB Notification: Performance of pre-optimization done (n=43): time 3.396e-06/1.263, allocations: 0 / 1.304 GB, free: 32 kB / 1.029 GB Notification: Performance of matching and sorting (n=45): time 0.005618/1.269, allocations: 2.182 MB / 1.306 GB, free: 13.79 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/1.269, allocations: 59.34 kB / 1.306 GB, free: 13.72 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/1.27, allocations: 0.8647 MB / 1.307 GB, free: 12.85 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.386e-05/1.27, allocations: 41.7 kB / 1.307 GB, free: 12.8 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003698/1.271, allocations: 495.2 kB / 1.307 GB, free: 12.32 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001523/1.271, allocations: 169.6 kB / 1.308 GB, free: 12.15 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002213/1.271, allocations: 118.2 kB / 1.308 GB, free: 12.03 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001418/1.271, allocations: 334 kB / 1.308 GB, free: 11.7 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008798/1.272, allocations: 365 kB / 1.308 GB, free: 11.34 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009556/1.273, allocations: 0.4936 MB / 1.309 GB, free: 10.8 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.00574/1.279, allocations: 2.266 MB / 1.311 GB, free: 8.461 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/1.279, allocations: 0 / 1.311 GB, free: 8.461 MB / 1.045 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002201/1.281, allocations: 0.9897 MB / 1.312 GB, free: 7.461 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/1.281, allocations: 11.94 kB / 1.312 GB, free: 7.449 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/1.281, allocations: 4 kB / 1.312 GB, free: 7.445 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.372e-05/1.281, allocations: 8 kB / 1.312 GB, free: 7.438 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009259/1.282, allocations: 195.8 kB / 1.312 GB, free: 7.246 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.88e-05/1.282, allocations: 8 kB / 1.312 GB, free: 7.238 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009802/1.283, allocations: 71.86 kB / 1.312 GB, free: 7.168 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.126e-05/1.283, allocations: 20 kB / 1.312 GB, free: 7.148 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.0005475/1.284, allocations: 321.8 kB / 1.313 GB, free: 6.828 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002196/1.284, allocations: 90.97 kB / 1.313 GB, free: 6.738 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002801/1.284, allocations: 108.8 kB / 1.313 GB, free: 6.629 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/1.284, allocations: 11.92 kB / 1.313 GB, free: 6.617 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/1.284, allocations: 4 kB / 1.313 GB, free: 6.613 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001897/1.286, allocations: 1.018 MB / 1.314 GB, free: 5.508 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004724/1.291, allocations: 2.144 MB / 1.316 GB, free: 3.266 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/1.291, allocations: 4 kB / 1.316 GB, free: 3.262 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008242/1.292, allocations: 164.2 kB / 1.316 GB, free: 3.102 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.455e-05/1.292, allocations: 8 kB / 1.316 GB, free: 3.094 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.758e-05/1.292, allocations: 16 kB / 1.316 GB, free: 3.078 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-05/1.292, allocations: 7.984 kB / 1.316 GB, free: 3.07 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/1.292, allocations: 11.88 kB / 1.316 GB, free: 3.059 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002911/1.295, allocations: 1.411 MB / 1.318 GB, free: 1.594 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004946/1.295, allocations: 255.9 kB / 1.318 GB, free: 1.324 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000167/1.295, allocations: 15.98 kB / 1.318 GB, free: 1.309 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008934/1.296, allocations: 63.94 kB / 1.318 GB, free: 1.246 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.742e-05/1.296, allocations: 43.83 kB / 1.318 GB, free: 1.203 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.009e-05/1.297, allocations: 23.98 kB / 1.318 GB, free: 1.18 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0008874/1.297, allocations: 0.6044 MB / 1.319 GB, free: 0.582 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.21e-07/1.297, allocations: 0 / 1.319 GB, free: 0.582 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0009806/1.298, allocations: 268 kB / 1.319 GB, free: 328 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.0005204/1.299, allocations: 217.5 kB / 1.319 GB, free: 104 kB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002022/1.301, allocations: 0.811 MB / 1.32 GB, free: 15.29 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/1.301, allocations: 0 / 1.32 GB, free: 15.29 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0009175/1.302, allocations: 393 kB / 1.32 GB, free: 14.91 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002377/1.304, allocations: 0.5848 MB / 1.321 GB, free: 14.33 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004946/1.309, allocations: 2.167 MB / 1.323 GB, free: 12.09 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009053/1.31, allocations: 1.11 MB / 1.324 GB, free: 10.95 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0009254/1.311, allocations: 263.8 kB / 1.324 GB, free: 10.69 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000296/1.311, allocations: 79.42 kB / 1.324 GB, free: 10.61 MB / 1.061 GB Notification: Performance of SimCode: time 5.51e-07/1.311, allocations: 0 / 1.324 GB, free: 10.61 MB / 1.061 GB Notification: Performance of Templates: time 0.03705/1.349, allocations: 21.09 MB / 1.345 GB, free: 5.867 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