Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001603/0.001603, allocations: 108 kB / 15.61 MB, free: 152 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.00166/0.001661, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.392/1.392, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.881/2.881, allocations: 472.6 MB / 0.7451 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 59.78 kB / 0.912 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3851/0.3863, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.884/1.27, allocations: 190.5 MB / 1.254 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0108/1.281, allocations: 5.713 MB / 1.26 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001668/1.283, allocations: 42.5 kB / 1.26 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001526/1.284, allocations: 0.5694 MB / 1.26 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004657/1.289, allocations: 1.617 MB / 1.262 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00391/1.293, allocations: 1.197 MB / 1.263 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003749/1.297, allocations: 2.552 MB / 1.266 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002327/1.299, allocations: 1.041 MB / 1.267 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00267/1.302, allocations: 1.042 MB / 1.268 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001753/1.304, allocations: 0.8533 MB / 1.268 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000181/1.304, allocations: 109.5 kB / 1.269 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003522/1.307, allocations: 1.552 MB / 1.27 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006292/1.308, allocations: 0.4929 MB / 1.271 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000876/1.309, allocations: 0.6456 MB / 1.271 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003819/1.313, allocations: 2.157 MB / 1.273 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/1.313, allocations: 0.5625 kB / 1.273 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.866e-06/1.313, allocations: 2.344 kB / 1.273 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.463e-05/1.313, allocations: 1.094 kB / 1.273 GB, free: 5.363 MB / 0.9981 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.003271/1.316, allocations: 1.521 MB / 1.275 GB, free: 20.57 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/1.316, allocations: 15.64 kB / 1.275 GB, free: 20.57 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00323/1.319, allocations: 472.8 kB / 1.275 GB, free: 20.51 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001641/1.321, allocations: 0.8174 MB / 1.276 GB, free: 20.18 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004022/1.321, allocations: 119.6 kB / 1.276 GB, free: 20.18 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001723/1.322, allocations: 91.62 kB / 1.276 GB, free: 20.18 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002624/1.324, allocations: 1.182 MB / 1.277 GB, free: 20.08 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/1.324, allocations: 1.375 kB / 1.277 GB, free: 20.08 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/1.324, allocations: 41.14 kB / 1.277 GB, free: 20.08 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.95e-05/1.324, allocations: 37.56 kB / 1.277 GB, free: 20.08 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00309/1.328, allocations: 1.072 MB / 1.279 GB, free: 20.07 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.008142/1.336, allocations: 4.358 MB / 1.283 GB, free: 18.28 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002223/1.338, allocations: 0.7613 MB / 1.284 GB, free: 18.25 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001062/1.339, allocations: 412.5 kB / 1.284 GB, free: 18.24 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002083/1.339, allocations: 99.64 kB / 1.284 GB, free: 18.15 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/1.339, allocations: 44.19 kB / 1.284 GB, free: 18.11 MB / 1.014 GB Notification: Performance of pre-optimization done (n=43): time 2.415e-06/1.339, allocations: 2.328 kB / 1.284 GB, free: 18.11 MB / 1.014 GB Notification: Performance of matching and sorting (n=45): time 0.006617/1.346, allocations: 2.202 MB / 1.286 GB, free: 17.65 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.291e-05/1.346, allocations: 57.69 kB / 1.286 GB, free: 17.59 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001592/1.348, allocations: 0.8628 MB / 1.287 GB, free: 17.45 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.84e-05/1.348, allocations: 36.73 kB / 1.287 GB, free: 17.42 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004946/1.348, allocations: 0.491 MB / 1.288 GB, free: 17.21 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002029/1.348, allocations: 160.1 kB / 1.288 GB, free: 17.11 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000279/1.349, allocations: 120.6 kB / 1.288 GB, free: 17.09 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001832/1.349, allocations: 331.9 kB / 1.288 GB, free: 16.79 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00117/1.35, allocations: 372.8 kB / 1.289 GB, free: 16.79 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001298/1.351, allocations: 0.5092 MB / 1.289 GB, free: 16.64 MB / 1.014 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.007032/1.358, allocations: 2.294 MB / 1.291 GB, free: 16.37 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/1.358, allocations: 1.125 kB / 1.291 GB, free: 16.37 MB / 1.014 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002648/1.361, allocations: 1 MB / 1.292 GB, free: 16.26 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.801e-05/1.361, allocations: 7.5 kB / 1.292 GB, free: 16.26 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/1.361, allocations: 8.719 kB / 1.292 GB, free: 16.25 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.645e-05/1.361, allocations: 9.156 kB / 1.292 GB, free: 16.25 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009944/1.362, allocations: 190.4 kB / 1.292 GB, free: 16.25 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.447e-05/1.362, allocations: 9.828 kB / 1.292 GB, free: 16.25 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/1.363, allocations: 67.06 kB / 1.293 GB, free: 16.25 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.857e-05/1.363, allocations: 26.66 kB / 1.293 GB, free: 16.25 MB / 1.014 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.0006795/1.364, allocations: 313.3 kB / 1.293 GB, free: 16.13 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002168/1.364, allocations: 99.25 kB / 1.293 GB, free: 16.08 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002528/1.365, allocations: 109.4 kB / 1.293 GB, free: 16.06 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.297e-06/1.365, allocations: 8.062 kB / 1.293 GB, free: 16.05 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.679e-05/1.365, allocations: 4 kB / 1.293 GB, free: 16.05 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002458/1.367, allocations: 1.036 MB / 1.294 GB, free: 15.59 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00537/1.373, allocations: 2.156 MB / 1.296 GB, free: 15.14 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/1.373, allocations: 2.781 kB / 1.296 GB, free: 15.14 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009215/1.374, allocations: 166 kB / 1.296 GB, free: 15.14 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.344e-05/1.374, allocations: 9.75 kB / 1.296 GB, free: 15.14 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-05/1.374, allocations: 20.64 kB / 1.296 GB, free: 15.14 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.057e-05/1.374, allocations: 9.312 kB / 1.296 GB, free: 15.13 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/1.374, allocations: 2.938 kB / 1.296 GB, free: 15.13 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003481/1.377, allocations: 1.428 MB / 1.298 GB, free: 14.8 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005506/1.378, allocations: 256 kB / 1.298 GB, free: 14.66 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00015/1.378, allocations: 17.41 kB / 1.298 GB, free: 14.66 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009499/1.379, allocations: 70.55 kB / 1.298 GB, free: 14.66 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/1.379, allocations: 38.72 kB / 1.298 GB, free: 14.66 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.009e-05/1.379, allocations: 31.91 kB / 1.298 GB, free: 14.65 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009157/1.38, allocations: 0.602 MB / 1.299 GB, free: 14.56 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.11e-07/1.38, allocations: 0 / 1.299 GB, free: 14.56 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001167/1.381, allocations: 268.6 kB / 1.299 GB, free: 14.55 MB / 1.014 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.0005434/1.382, allocations: 220.5 kB / 1.299 GB, free: 14.44 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002441/1.384, allocations: 0.8838 MB / 1.3 GB, free: 14.41 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/1.384, allocations: 5.375 kB / 1.3 GB, free: 14.41 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001044/1.385, allocations: 395.3 kB / 1.3 GB, free: 14.4 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002795/1.388, allocations: 0.5774 MB / 1.301 GB, free: 14.3 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006048/1.394, allocations: 2.216 MB / 1.303 GB, free: 13.39 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00113/1.395, allocations: 1.105 MB / 1.304 GB, free: 12.68 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001633/1.397, allocations: 264.9 kB / 1.305 GB, free: 12.61 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003924/1.397, allocations: 79.27 kB / 1.305 GB, free: 12.61 MB / 1.014 GB Notification: Performance of SimCode: time 2.955e-06/1.397, allocations: 0 / 1.305 GB, free: 12.61 MB / 1.014 GB Notification: Performance of Templates: time 0.04048/1.438, allocations: 20.96 MB / 1.325 GB, free: 8.332 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches