Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001014/0.001014, allocations: 92.23 kB / 16.02 MB, free: 80 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.001729/0.001729, allocations: 184.3 kB / 16.92 MB, free: 6.922 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.451/1.451, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.596/2.596, allocations: 437.8 MB / 0.7128 GB, free: 7 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005485/0.0005485, allocations: 12 kB / 0.8735 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7284/0.729, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.2145/0.9436, allocations: 185.8 MB / 1.205 GB, free: 5.426 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.009752/0.9534, allocations: 5.722 MB / 1.211 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001547/0.955, allocations: 31.81 kB / 1.211 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001566/0.9566, allocations: 497.4 kB / 1.211 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00442/0.961, allocations: 1.529 MB / 1.213 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003257/0.9643, allocations: 1.086 MB / 1.214 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004666/0.969, allocations: 3.533 MB / 1.217 GB, free: 9.023 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001432/0.9704, allocations: 0.8602 MB / 1.218 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002148/0.9726, allocations: 0.8712 MB / 1.219 GB, free: 7.262 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002039/0.9747, allocations: 0.8376 MB / 1.22 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001533/0.9748, allocations: 44 kB / 1.22 GB, free: 6.383 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003343/0.9782, allocations: 1.715 MB / 1.221 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0005509/0.9787, allocations: 442.7 kB / 1.222 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0007822/0.9795, allocations: 0.5847 MB / 1.222 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002104/0.9817, allocations: 1.594 MB / 1.224 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.9817, allocations: 0 / 1.224 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.834e-06/0.9817, allocations: 0 / 1.224 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.897e-05/0.9817, allocations: 0 / 1.224 GB, free: 2.039 MB / 0.9669 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.0023/0.984, allocations: 1.297 MB / 1.225 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.9841, allocations: 15.91 kB / 1.225 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003138/0.9872, allocations: 498.1 kB / 1.226 GB, free: 188 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001562/0.9888, allocations: 0.8162 MB / 1.227 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003652/0.9892, allocations: 133.9 kB / 1.227 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001571/0.9893, allocations: 87.94 kB / 1.227 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00242/0.9918, allocations: 1.202 MB / 1.228 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/0.9918, allocations: 0 / 1.228 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/0.9919, allocations: 40 kB / 1.228 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-05/0.992, allocations: 37.98 kB / 1.228 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0025/0.9945, allocations: 1.109 MB / 1.229 GB, free: 12.7 MB / 0.9825 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.007375/1.002, allocations: 4.378 MB / 1.233 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002091/1.004, allocations: 0.7989 MB / 1.234 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009977/1.005, allocations: 420.6 kB / 1.235 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001903/1.005, allocations: 105.1 kB / 1.235 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.286e-05/1.005, allocations: 38.56 kB / 1.235 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=43): time 2.555e-06/1.005, allocations: 0 / 1.235 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of matching and sorting (n=45): time 0.006417/1.012, allocations: 2.296 MB / 1.237 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/1.012, allocations: 55.41 kB / 1.237 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/1.013, allocations: 0.8686 MB / 1.238 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.889e-05/1.013, allocations: 37.7 kB / 1.238 GB, free: 3.332 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003664/1.013, allocations: 491.3 kB / 1.238 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001592/1.014, allocations: 169.6 kB / 1.238 GB, free: 2.676 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.613e-05/1.014, allocations: 53.69 kB / 1.239 GB, free: 2.617 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001144/1.014, allocations: 330 kB / 1.239 GB, free: 2.289 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009914/1.015, allocations: 389 kB / 1.239 GB, free: 1.91 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001085/1.016, allocations: 0.5209 MB / 1.24 GB, free: 1.336 MB / 0.9825 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.006542/1.022, allocations: 2.383 MB / 1.242 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/1.022, allocations: 0 / 1.242 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002557/1.025, allocations: 1.033 MB / 1.243 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/1.025, allocations: 4 kB / 1.243 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/1.025, allocations: 7.938 kB / 1.243 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.411e-05/1.025, allocations: 11.94 kB / 1.243 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/1.026, allocations: 215.8 kB / 1.243 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.904e-05/1.026, allocations: 11.94 kB / 1.243 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001281/1.027, allocations: 111.7 kB / 1.243 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.383e-05/1.028, allocations: 24 kB / 1.243 GB, free: 13.46 MB / 0.9981 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.0005734/1.028, allocations: 310.9 kB / 1.244 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002405/1.028, allocations: 98.88 kB / 1.244 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002748/1.029, allocations: 108.7 kB / 1.244 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/1.029, allocations: 4 kB / 1.244 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/1.029, allocations: 4 kB / 1.244 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002142/1.031, allocations: 1.069 MB / 1.245 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005122/1.036, allocations: 2.21 MB / 1.247 GB, free: 9.473 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.065e-05/1.036, allocations: 7.984 kB / 1.247 GB, free: 9.465 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009288/1.037, allocations: 180.2 kB / 1.247 GB, free: 9.289 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.527e-05/1.037, allocations: 11.98 kB / 1.247 GB, free: 9.277 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.247e-05/1.037, allocations: 16 kB / 1.247 GB, free: 9.262 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.637e-06/1.037, allocations: 11.88 kB / 1.247 GB, free: 9.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/1.037, allocations: 4 kB / 1.247 GB, free: 9.246 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003415/1.04, allocations: 1.484 MB / 1.249 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006084/1.041, allocations: 255.9 kB / 1.249 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002185/1.041, allocations: 12 kB / 1.249 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/1.042, allocations: 116.8 kB / 1.249 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.36e-05/1.043, allocations: 31.91 kB / 1.249 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.929e-05/1.043, allocations: 31.97 kB / 1.249 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009241/1.044, allocations: 0.6005 MB / 1.25 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.61e-07/1.044, allocations: 4 kB / 1.25 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001075/1.045, allocations: 268 kB / 1.25 GB, free: 6.387 MB / 0.9981 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.0005792/1.045, allocations: 214.5 kB / 1.25 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002313/1.048, allocations: 0.8545 MB / 1.251 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/1.048, allocations: 4.188 kB / 1.251 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001028/1.049, allocations: 416.3 kB / 1.252 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003477/1.052, allocations: 0.5682 MB / 1.252 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005894/1.058, allocations: 2.717 MB / 1.255 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008534/1.059, allocations: 1.107 MB / 1.256 GB, free: 436 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003892/1.059, allocations: 83.41 kB / 1.256 GB, free: 352 kB / 0.9981 GB Notification: Performance of SimCode: time 8.92e-07/1.059, allocations: 0 / 1.256 GB, free: 352 kB / 0.9981 GB Notification: Performance of Templates: time 0.6241/1.683, allocations: 16.8 MB / 1.272 GB, free: 226.3 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches