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.007974/0.007974, allocations: 99.64 kB / 15.73 MB, free: 5.547 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.00139/0.00139, allocations: 193.5 kB / 16.67 MB, free: 5.492 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.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 4.18 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.589/2.589, allocations: 390.2 MB / 0.6648 GB, free: 168 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 70.91 kB / 0.9509 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3075, allocations: 140.4 MB / 1.088 GB, free: 1.449 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.9612/1.269, allocations: 190.5 MB / 1.274 GB, free: 4 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.009663/1.278, allocations: 5.708 MB / 1.28 GB, free: 3.938 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001933/1.28, allocations: 41.44 kB / 1.28 GB, free: 3.938 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001693/1.282, allocations: 0.5729 MB / 1.28 GB, free: 3.926 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005154/1.287, allocations: 1.615 MB / 1.282 GB, free: 3.855 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004213/1.292, allocations: 1.213 MB / 1.283 GB, free: 3.824 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004913/1.296, allocations: 2.558 MB / 1.285 GB, free: 3.82 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001841/1.298, allocations: 1.03 MB / 1.286 GB, free: 3.727 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00301/1.301, allocations: 1.062 MB / 1.287 GB, free: 3.723 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003002/1.304, allocations: 0.8545 MB / 1.288 GB, free: 3.719 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003689/1.305, allocations: 108.9 kB / 1.288 GB, free: 3.719 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004808/1.31, allocations: 1.555 MB / 1.29 GB, free: 3.703 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001007/1.311, allocations: 0.4955 MB / 1.29 GB, free: 3.695 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001523/1.312, allocations: 0.6386 MB / 1.291 GB, free: 3.695 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005689/1.318, allocations: 2.18 MB / 1.293 GB, free: 3.574 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/1.318, allocations: 0 / 1.293 GB, free: 3.574 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.835e-06/1.318, allocations: 1.625 kB / 1.293 GB, free: 3.574 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.814e-05/1.318, allocations: 1.281 kB / 1.293 GB, free: 3.574 MB / 1.014 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.003123/1.321, allocations: 1.516 MB / 1.295 GB, free: 2.785 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/1.321, allocations: 10.78 kB / 1.295 GB, free: 2.785 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00313/1.324, allocations: 473.2 kB / 1.295 GB, free: 2.723 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001895/1.326, allocations: 0.8552 MB / 1.296 GB, free: 2.398 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.933e-05/1.326, allocations: 68.2 kB / 1.296 GB, free: 2.395 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001473/1.326, allocations: 85.22 kB / 1.296 GB, free: 2.395 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002451/1.329, allocations: 1.176 MB / 1.297 GB, free: 2.293 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.849e-05/1.329, allocations: 4.625 kB / 1.297 GB, free: 2.293 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-05/1.329, allocations: 34.66 kB / 1.297 GB, free: 2.293 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-05/1.329, allocations: 39.56 kB / 1.297 GB, free: 2.289 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002794/1.332, allocations: 1.072 MB / 1.298 GB, free: 2.277 MB / 1.014 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.007854/1.34, allocations: 4.314 MB / 1.303 GB, free: 484 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001957/1.342, allocations: 0.7487 MB / 1.303 GB, free: 452 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009535/1.343, allocations: 402.8 kB / 1.304 GB, free: 440 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002503/1.343, allocations: 98.73 kB / 1.304 GB, free: 16.34 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.559e-05/1.343, allocations: 42.84 kB / 1.304 GB, free: 16.3 MB / 1.029 GB Notification: Performance of pre-optimization done (n=43): time 3.948e-06/1.343, allocations: 0.9062 kB / 1.304 GB, free: 16.3 MB / 1.029 GB Notification: Performance of matching and sorting (n=45): time 0.006394/1.349, allocations: 2.178 MB / 1.306 GB, free: 15.84 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/1.349, allocations: 57.03 kB / 1.306 GB, free: 15.78 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001264/1.351, allocations: 0.8633 MB / 1.307 GB, free: 15.64 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 9.58e-05/1.351, allocations: 37.86 kB / 1.307 GB, free: 15.61 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000325/1.351, allocations: 495.2 kB / 1.307 GB, free: 15.41 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001765/1.351, allocations: 164.1 kB / 1.307 GB, free: 15.3 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002256/1.352, allocations: 120.1 kB / 1.308 GB, free: 15.29 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.00012/1.352, allocations: 336.7 kB / 1.308 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009128/1.353, allocations: 366.2 kB / 1.308 GB, free: 14.98 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00103/1.354, allocations: 0.5013 MB / 1.309 GB, free: 14.84 MB / 1.029 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.005998/1.36, allocations: 2.264 MB / 1.311 GB, free: 14.56 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/1.36, allocations: 1.156 kB / 1.311 GB, free: 14.56 MB / 1.029 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0025/1.362, allocations: 0.9872 MB / 1.312 GB, free: 14.45 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/1.362, allocations: 7.281 kB / 1.312 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/1.362, allocations: 7.562 kB / 1.312 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.411e-05/1.362, allocations: 12.25 kB / 1.312 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009499/1.363, allocations: 188 kB / 1.312 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.888e-05/1.363, allocations: 12.12 kB / 1.312 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/1.365, allocations: 65.44 kB / 1.312 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-05/1.365, allocations: 25.58 kB / 1.312 GB, free: 14.44 MB / 1.029 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.0006179/1.365, allocations: 318 kB / 1.313 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001851/1.365, allocations: 91.16 kB / 1.313 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002244/1.366, allocations: 101.9 kB / 1.313 GB, free: 14.26 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/1.366, allocations: 8.594 kB / 1.313 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/1.366, allocations: 0 / 1.313 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001961/1.368, allocations: 1.023 MB / 1.314 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004892/1.373, allocations: 2.147 MB / 1.316 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/1.373, allocations: 3.438 kB / 1.316 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008243/1.373, allocations: 164.5 kB / 1.316 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.006e-05/1.373, allocations: 11.77 kB / 1.316 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.327e-05/1.373, allocations: 17.2 kB / 1.316 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.097e-06/1.373, allocations: 7.969 kB / 1.316 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/1.374, allocations: 4.094 kB / 1.316 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003278/1.377, allocations: 1.418 MB / 1.317 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006734/1.377, allocations: 253.2 kB / 1.318 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003232/1.378, allocations: 16.67 kB / 1.318 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001128/1.379, allocations: 64.48 kB / 1.318 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/1.379, allocations: 42.75 kB / 1.318 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.532e-05/1.379, allocations: 32.81 kB / 1.318 GB, free: 12.87 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001113/1.38, allocations: 0.5987 MB / 1.318 GB, free: 12.78 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.5e-07/1.38, allocations: 0 / 1.318 GB, free: 12.78 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001516/1.382, allocations: 270.9 kB / 1.319 GB, free: 12.78 MB / 1.029 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.0005966/1.382, allocations: 203.4 kB / 1.319 GB, free: 12.66 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002128/1.385, allocations: 0.822 MB / 1.32 GB, free: 12.63 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 8.296e-06/1.385, allocations: 2.844 kB / 1.32 GB, free: 12.63 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0009547/1.386, allocations: 388.1 kB / 1.32 GB, free: 12.63 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002925/1.389, allocations: 0.581 MB / 1.321 GB, free: 12.52 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005245/1.394, allocations: 2.173 MB / 1.323 GB, free: 11.64 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008733/1.395, allocations: 1.112 MB / 1.324 GB, free: 10.93 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001169/1.396, allocations: 258.8 kB / 1.324 GB, free: 10.87 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003549/1.396, allocations: 76.73 kB / 1.324 GB, free: 10.86 MB / 1.029 GB Notification: Performance of SimCode: time 9.31e-07/1.396, allocations: 4 kB / 1.324 GB, free: 10.86 MB / 1.029 GB Notification: Performance of Templates: time 0.04367/1.44, allocations: 21.43 MB / 1.345 GB, free: 5.234 MB / 1.029 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