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.001581/0.001581, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001561/0.001562, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.374/1.374, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.717/2.717, allocations: 482.4 MB / 0.7553 GB, free: 6.961 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 63.89 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7303/0.7322, allocations: 162.2 MB / 1.083 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.233/0.9653, allocations: 190.6 MB / 1.269 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009464/0.9748, allocations: 5.718 MB / 1.275 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001197/0.976, allocations: 39.75 kB / 1.275 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001539/0.9776, allocations: 0.5708 MB / 1.275 GB, free: 9.438 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003954/0.9816, allocations: 1.606 MB / 1.277 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003147/0.9848, allocations: 1.207 MB / 1.278 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003413/0.9882, allocations: 2.55 MB / 1.28 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001434/0.9896, allocations: 1.032 MB / 1.281 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002276/0.9919, allocations: 1.195 MB / 1.283 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001655/0.9936, allocations: 0.8419 MB / 1.283 GB, free: 0.9805 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002003/0.9938, allocations: 112 kB / 1.284 GB, free: 0.8711 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002873/0.9967, allocations: 1.544 MB / 1.285 GB, free: 15.32 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005528/0.9973, allocations: 0.4987 MB / 1.286 GB, free: 14.82 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000796/0.9981, allocations: 0.6417 MB / 1.286 GB, free: 14.18 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003081/1.001, allocations: 2.162 MB / 1.288 GB, free: 12.01 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/1.001, allocations: 0 / 1.288 GB, free: 12.01 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.282e-06/1.001, allocations: 0 / 1.288 GB, free: 12.01 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.617e-05/1.001, allocations: 0 / 1.288 GB, free: 12.01 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.002556/1.004, allocations: 1.519 MB / 1.29 GB, free: 10.44 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/1.004, allocations: 15.97 kB / 1.29 GB, free: 10.43 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003024/1.007, allocations: 478 kB / 1.29 GB, free: 9.957 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001477/1.008, allocations: 0.8124 MB / 1.291 GB, free: 9.102 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003655/1.009, allocations: 121.9 kB / 1.291 GB, free: 8.98 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001498/1.009, allocations: 87.98 kB / 1.291 GB, free: 8.895 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002311/1.011, allocations: 1.186 MB / 1.292 GB, free: 7.688 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/1.011, allocations: 3.906 kB / 1.292 GB, free: 7.684 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/1.011, allocations: 39.98 kB / 1.292 GB, free: 7.645 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-05/1.011, allocations: 37.98 kB / 1.292 GB, free: 7.605 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002491/1.014, allocations: 1.077 MB / 1.293 GB, free: 6.527 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.007764/1.022, allocations: 4.497 MB / 1.298 GB, free: 1.727 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002184/1.024, allocations: 0.767 MB / 1.299 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001013/1.025, allocations: 408.4 kB / 1.299 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001956/1.025, allocations: 101.1 kB / 1.299 GB, free: 444 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/1.025, allocations: 39.28 kB / 1.299 GB, free: 396 kB / 1.014 GB Notification: Performance of pre-optimization done (n=43): time 2.184e-06/1.025, allocations: 0 / 1.299 GB, free: 396 kB / 1.014 GB Notification: Performance of matching and sorting (n=45): time 0.006407/1.032, allocations: 2.217 MB / 1.301 GB, free: 14.12 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/1.032, allocations: 55.41 kB / 1.301 GB, free: 14.05 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/1.033, allocations: 0.8725 MB / 1.302 GB, free: 13.17 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.946e-05/1.033, allocations: 37.7 kB / 1.302 GB, free: 13.13 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004025/1.033, allocations: 491.2 kB / 1.303 GB, free: 12.64 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001678/1.034, allocations: 161.7 kB / 1.303 GB, free: 12.48 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002216/1.034, allocations: 122.2 kB / 1.303 GB, free: 12.36 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001476/1.034, allocations: 326 kB / 1.303 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001044/1.035, allocations: 381 kB / 1.304 GB, free: 11.66 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001144/1.036, allocations: 0.5052 MB / 1.304 GB, free: 11.11 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.006866/1.043, allocations: 2.297 MB / 1.306 GB, free: 8.738 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/1.043, allocations: 0 / 1.306 GB, free: 8.738 MB / 1.029 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002573/1.046, allocations: 1.001 MB / 1.307 GB, free: 7.73 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/1.046, allocations: 4 kB / 1.307 GB, free: 7.727 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/1.046, allocations: 4 kB / 1.307 GB, free: 7.723 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.35e-05/1.046, allocations: 11.94 kB / 1.307 GB, free: 7.711 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009721/1.047, allocations: 191.8 kB / 1.308 GB, free: 7.523 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.591e-05/1.047, allocations: 11.94 kB / 1.308 GB, free: 7.512 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001109/1.048, allocations: 71.92 kB / 1.308 GB, free: 7.441 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-05/1.048, allocations: 24 kB / 1.308 GB, free: 7.418 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.0005479/1.048, allocations: 313.5 kB / 1.308 GB, free: 7.102 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001915/1.049, allocations: 94.88 kB / 1.308 GB, free: 7.008 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002252/1.049, allocations: 108.7 kB / 1.308 GB, free: 6.898 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/1.049, allocations: 7.938 kB / 1.308 GB, free: 6.891 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/1.049, allocations: 0 / 1.308 GB, free: 6.891 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002298/1.051, allocations: 1.034 MB / 1.309 GB, free: 5.77 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00503/1.056, allocations: 2.152 MB / 1.311 GB, free: 3.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/1.056, allocations: 8.062 kB / 1.311 GB, free: 3.512 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009031/1.057, allocations: 167.8 kB / 1.311 GB, free: 3.348 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.927e-06/1.057, allocations: 4 kB / 1.311 GB, free: 3.344 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.413e-05/1.057, allocations: 12 kB / 1.311 GB, free: 3.332 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.116e-05/1.057, allocations: 11.92 kB / 1.311 GB, free: 3.32 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/1.057, allocations: 7.938 kB / 1.311 GB, free: 3.312 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003416/1.061, allocations: 1.437 MB / 1.313 GB, free: 1.816 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005715/1.061, allocations: 248 kB / 1.313 GB, free: 1.555 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001375/1.061, allocations: 15.98 kB / 1.313 GB, free: 1.539 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009392/1.062, allocations: 69.52 kB / 1.313 GB, free: 1.473 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.818e-05/1.062, allocations: 43.83 kB / 1.313 GB, free: 1.43 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.499e-05/1.063, allocations: 35.97 kB / 1.313 GB, free: 1.395 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0008143/1.063, allocations: 0.5966 MB / 1.314 GB, free: 0.8047 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.7e-07/1.063, allocations: 0 / 1.314 GB, free: 0.8047 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008712/1.064, allocations: 272 kB / 1.314 GB, free: 0.5391 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.0005334/1.065, allocations: 222.7 kB / 1.314 GB, free: 324 kB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002514/1.067, allocations: 0.8813 MB / 1.315 GB, free: 15.43 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/1.067, allocations: 4 kB / 1.315 GB, free: 15.43 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001033/1.068, allocations: 401 kB / 1.316 GB, free: 15.04 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002645/1.071, allocations: 0.5889 MB / 1.316 GB, free: 14.46 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005078/1.076, allocations: 2.274 MB / 1.318 GB, free: 12.11 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007608/1.077, allocations: 1.106 MB / 1.319 GB, free: 10.98 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003251/1.077, allocations: 79.36 kB / 1.32 GB, free: 10.9 MB / 1.045 GB Notification: Performance of SimCode: time 1.042e-06/1.077, allocations: 0 / 1.32 GB, free: 10.9 MB / 1.045 GB Notification: Performance of Templates: time 0.02608/1.103, allocations: 16.88 MB / 1.336 GB, free: 10.16 MB / 1.061 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=400 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches