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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0008368/0.000837, allocations: 99.58 kB / 16.02 MB, free: 76 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.001111/0.001111, allocations: 182.5 kB / 16.92 MB, free: 6.918 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.42/1.42, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.8/2.8, allocations: 462.6 MB / 0.737 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004322/0.0004329, allocations: 10.03 kB / 0.9034 GB, free: 36.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.3661, allocations: 159.6 MB / 1.059 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.2153/0.5814, allocations: 185.8 MB / 1.241 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01093/0.5924, allocations: 5.718 MB / 1.246 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001422/0.5938, allocations: 31.81 kB / 1.246 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001453/0.5953, allocations: 0.4935 MB / 1.247 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004331/0.5996, allocations: 1.517 MB / 1.248 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003246/0.6029, allocations: 1.097 MB / 1.249 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.7625/1.365, allocations: 3.527 MB / 1.253 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001742/1.367, allocations: 0.8579 MB / 1.254 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002342/1.37, allocations: 0.8695 MB / 1.255 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001993/1.372, allocations: 0.8406 MB / 1.255 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001225/1.372, allocations: 44.62 kB / 1.255 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003326/1.375, allocations: 1.718 MB / 1.257 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006193/1.376, allocations: 432.6 kB / 1.257 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007999/1.376, allocations: 0.5799 MB / 1.258 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002714/1.379, allocations: 1.606 MB / 1.26 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/1.379, allocations: 0 / 1.26 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.254e-06/1.379, allocations: 2.938 kB / 1.26 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.157e-05/1.379, allocations: 0 / 1.26 GB, free: 4.332 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.003049/1.382, allocations: 1.29 MB / 1.261 GB, free: 19.59 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/1.382, allocations: 15.48 kB / 1.261 GB, free: 19.59 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003168/1.386, allocations: 496.7 kB / 1.261 GB, free: 19.52 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001567/1.387, allocations: 0.8229 MB / 1.262 GB, free: 19.19 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003617/1.387, allocations: 137.7 kB / 1.262 GB, free: 19.18 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001456/1.388, allocations: 86.2 kB / 1.262 GB, free: 19.18 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002459/1.39, allocations: 1.198 MB / 1.264 GB, free: 19.07 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.488e-05/1.39, allocations: 3 kB / 1.264 GB, free: 19.07 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/1.39, allocations: 43.05 kB / 1.264 GB, free: 19.07 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.092e-05/1.39, allocations: 40.27 kB / 1.264 GB, free: 19.07 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00271/1.393, allocations: 1.105 MB / 1.265 GB, free: 19.04 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.008682/1.402, allocations: 4.366 MB / 1.269 GB, free: 17.23 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002282/1.404, allocations: 0.7977 MB / 1.27 GB, free: 17.18 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00114/1.405, allocations: 423.6 kB / 1.27 GB, free: 17.17 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002179/1.405, allocations: 105.5 kB / 1.27 GB, free: 17.07 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.068e-05/1.405, allocations: 39.5 kB / 1.27 GB, free: 17.03 MB / 1.014 GB Notification: Performance of pre-optimization done (n=43): time 2.895e-06/1.405, allocations: 0 / 1.27 GB, free: 17.03 MB / 1.014 GB Notification: Performance of matching and sorting (n=45): time 0.008071/1.414, allocations: 2.291 MB / 1.273 GB, free: 16.52 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/1.414, allocations: 62.59 kB / 1.273 GB, free: 16.46 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001871/1.415, allocations: 0.8674 MB / 1.273 GB, free: 16.32 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001049/1.416, allocations: 36.02 kB / 1.273 GB, free: 16.29 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004705/1.416, allocations: 498.3 kB / 1.274 GB, free: 16.08 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002139/1.416, allocations: 169.9 kB / 1.274 GB, free: 15.98 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/1.416, allocations: 53.44 kB / 1.274 GB, free: 15.96 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001431/1.417, allocations: 326.2 kB / 1.274 GB, free: 15.66 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001127/1.418, allocations: 391.4 kB / 1.275 GB, free: 15.65 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001226/1.419, allocations: 0.5283 MB / 1.275 GB, free: 15.5 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.007186/1.426, allocations: 2.379 MB / 1.278 GB, free: 15.16 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/1.426, allocations: 2.25 kB / 1.278 GB, free: 15.16 MB / 1.014 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002862/1.429, allocations: 1.032 MB / 1.279 GB, free: 15.05 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.108e-05/1.429, allocations: 7.062 kB / 1.279 GB, free: 15.05 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.877e-05/1.429, allocations: 7.5 kB / 1.279 GB, free: 15.05 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.662e-05/1.429, allocations: 8.875 kB / 1.279 GB, free: 15.05 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/1.43, allocations: 206.5 kB / 1.279 GB, free: 15.04 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.248e-05/1.43, allocations: 10.75 kB / 1.279 GB, free: 15.04 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00149/1.432, allocations: 109.4 kB / 1.279 GB, free: 15.03 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.384e-05/1.432, allocations: 29.08 kB / 1.279 GB, free: 15.03 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 sytem: 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.0007787/1.433, allocations: 316.5 kB / 1.279 GB, free: 14.91 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003307/1.433, allocations: 95.72 kB / 1.279 GB, free: 14.86 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000321/1.433, allocations: 114.8 kB / 1.28 GB, free: 14.84 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/1.433, allocations: 4.062 kB / 1.28 GB, free: 14.84 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.38e-05/1.433, allocations: 2.438 kB / 1.28 GB, free: 14.84 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002322/1.436, allocations: 1.066 MB / 1.281 GB, free: 14.38 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005678/1.441, allocations: 2.211 MB / 1.283 GB, free: 13.93 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/1.441, allocations: 4.281 kB / 1.283 GB, free: 13.93 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000919/1.442, allocations: 183.2 kB / 1.283 GB, free: 13.93 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-05/1.442, allocations: 9 kB / 1.283 GB, free: 13.92 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.763e-05/1.442, allocations: 14.84 kB / 1.283 GB, free: 13.92 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.377e-05/1.442, allocations: 12.53 kB / 1.283 GB, free: 13.92 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/1.442, allocations: 5.781 kB / 1.283 GB, free: 13.92 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003582/1.446, allocations: 1.498 MB / 1.284 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006656/1.447, allocations: 253.4 kB / 1.285 GB, free: 13.44 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002696/1.447, allocations: 13.5 kB / 1.285 GB, free: 13.44 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001233/1.448, allocations: 105.7 kB / 1.285 GB, free: 13.43 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/1.448, allocations: 39.05 kB / 1.285 GB, free: 13.43 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/1.448, allocations: 34.53 kB / 1.285 GB, free: 13.43 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001153/1.45, allocations: 0.6002 MB / 1.285 GB, free: 13.33 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.31e-07/1.45, allocations: 0 / 1.285 GB, free: 13.33 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001421/1.451, allocations: 265.8 kB / 1.286 GB, free: 13.33 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.0006583/1.452, allocations: 207 kB / 1.286 GB, free: 13.21 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002404/1.454, allocations: 0.8482 MB / 1.287 GB, free: 13.19 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/1.454, allocations: 7 kB / 1.287 GB, free: 13.19 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001029/1.455, allocations: 415.2 kB / 1.287 GB, free: 13.18 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003603/1.459, allocations: 0.5546 MB / 1.288 GB, free: 13.14 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006025/1.465, allocations: 2.716 MB / 1.29 GB, free: 11.84 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001045/1.466, allocations: 1.11 MB / 1.291 GB, free: 11.13 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004178/1.466, allocations: 81.69 kB / 1.291 GB, free: 11.12 MB / 1.014 GB Notification: Performance of SimCode: time 5.21e-07/1.466, allocations: 0 / 1.291 GB, free: 11.12 MB / 1.014 GB Notification: Performance of Templates: time 0.03441/1.501, allocations: 16.81 MB / 1.308 GB, free: 9.75 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/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