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.001089/0.001089, allocations: 112.6 kB / 16.37 MB, free: 6 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.001082/0.001082, allocations: 196 kB / 17.31 MB, free: 5.613 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.313/1.313, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.446/2.446, allocations: 442.6 MB / 0.7165 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 64.25 kB / 0.8773 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.3262, allocations: 153 MB / 1.027 GB, free: 2.004 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.6993/1.026, allocations: 190.5 MB / 1.213 GB, free: 11.02 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.008715/1.034, allocations: 5.696 MB / 1.218 GB, free: 6.371 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001125/1.035, allocations: 43.5 kB / 1.218 GB, free: 6.355 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001372/1.037, allocations: 0.5659 MB / 1.219 GB, free: 5.887 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.003565/1.04, allocations: 1.619 MB / 1.22 GB, free: 4.621 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002872/1.043, allocations: 1.211 MB / 1.222 GB, free: 3.719 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003082/1.046, allocations: 2.565 MB / 1.224 GB, free: 2.258 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001277/1.048, allocations: 1.029 MB / 1.225 GB, free: 1.645 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001731/1.049, allocations: 1.049 MB / 1.226 GB, free: 1.016 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001487/1.051, allocations: 0.8485 MB / 1.227 GB, free: 372 kB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001651/1.051, allocations: 111.9 kB / 1.227 GB, free: 260 kB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003035/1.054, allocations: 1.555 MB / 1.229 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0005451/1.055, allocations: 0.4948 MB / 1.229 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0008214/1.056, allocations: 0.6378 MB / 1.23 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003228/1.059, allocations: 2.181 MB / 1.232 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/1.059, allocations: 0 / 1.232 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.723e-06/1.059, allocations: 0 / 1.232 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.062e-05/1.059, allocations: 0 / 1.232 GB, free: 11.37 MB / 0.9356 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.002509/1.061, allocations: 1.52 MB / 1.233 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/1.061, allocations: 8.031 kB / 1.233 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002972/1.064, allocations: 466.1 kB / 1.234 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001631/1.066, allocations: 0.8591 MB / 1.235 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.922e-05/1.066, allocations: 66 kB / 1.235 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001402/1.066, allocations: 93.09 kB / 1.235 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0021/1.068, allocations: 1.171 MB / 1.236 GB, free: 7.086 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/1.068, allocations: 4 kB / 1.236 GB, free: 7.082 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.497e-05/1.069, allocations: 36 kB / 1.236 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.552e-05/1.069, allocations: 41.92 kB / 1.236 GB, free: 7.004 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002227/1.071, allocations: 1.062 MB / 1.237 GB, free: 5.941 MB / 0.9356 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.006683/1.077, allocations: 4.303 MB / 1.241 GB, free: 1.371 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001818/1.079, allocations: 0.7521 MB / 1.242 GB, free: 0.6094 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008658/1.08, allocations: 396.6 kB / 1.242 GB, free: 224 kB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000174/1.08, allocations: 109 kB / 1.243 GB, free: 96 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/1.08, allocations: 38.56 kB / 1.243 GB, free: 48 kB / 0.9356 GB Notification: Performance of pre-optimization done (n=43): time 1.904e-06/1.08, allocations: 0 / 1.243 GB, free: 48 kB / 0.9356 GB Notification: Performance of matching and sorting (n=45): time 0.005303/1.086, allocations: 2.177 MB / 1.245 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/1.086, allocations: 63.34 kB / 1.245 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/1.087, allocations: 0.8647 MB / 1.246 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.922e-05/1.087, allocations: 37.7 kB / 1.246 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003353/1.087, allocations: 491.3 kB / 1.246 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/1.087, allocations: 157.7 kB / 1.246 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002179/1.088, allocations: 130.1 kB / 1.246 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001078/1.088, allocations: 326 kB / 1.247 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008848/1.089, allocations: 369 kB / 1.247 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009765/1.09, allocations: 0.5038 MB / 1.248 GB, free: 10.82 MB / 0.9512 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.005814/1.095, allocations: 2.259 MB / 1.25 GB, free: 8.492 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/1.095, allocations: 7.938 kB / 1.25 GB, free: 8.484 MB / 0.9512 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002205/1.098, allocations: 0.9782 MB / 1.251 GB, free: 7.5 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/1.098, allocations: 8 kB / 1.251 GB, free: 7.492 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/1.098, allocations: 8.062 kB / 1.251 GB, free: 7.484 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/1.098, allocations: 12 kB / 1.251 GB, free: 7.473 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009345/1.099, allocations: 191.7 kB / 1.251 GB, free: 7.285 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.552e-05/1.099, allocations: 15.88 kB / 1.251 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/1.1, allocations: 71.84 kB / 1.251 GB, free: 7.199 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.979e-05/1.1, allocations: 28.61 kB / 1.251 GB, free: 7.172 MB / 0.9512 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.0004815/1.1, allocations: 313.5 kB / 1.251 GB, free: 6.855 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002005/1.1, allocations: 90.97 kB / 1.251 GB, free: 6.766 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002356/1.101, allocations: 100.8 kB / 1.251 GB, free: 6.66 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/1.101, allocations: 7.984 kB / 1.251 GB, free: 6.652 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/1.101, allocations: 7.938 kB / 1.251 GB, free: 6.645 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001896/1.103, allocations: 1.03 MB / 1.252 GB, free: 5.527 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004665/1.107, allocations: 2.138 MB / 1.255 GB, free: 3.289 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/1.107, allocations: 4 kB / 1.255 GB, free: 3.285 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008621/1.108, allocations: 167.8 kB / 1.255 GB, free: 3.121 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.507e-06/1.108, allocations: 7.984 kB / 1.255 GB, free: 3.113 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.813e-05/1.108, allocations: 12 kB / 1.255 GB, free: 3.102 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/1.108, allocations: 4 kB / 1.255 GB, free: 3.098 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/1.108, allocations: 4 kB / 1.255 GB, free: 3.094 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002897/1.111, allocations: 1.43 MB / 1.256 GB, free: 1.609 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005744/1.112, allocations: 259.9 kB / 1.256 GB, free: 1.336 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001692/1.112, allocations: 8 kB / 1.256 GB, free: 1.328 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000941/1.113, allocations: 74.59 kB / 1.256 GB, free: 1.258 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.73e-05/1.113, allocations: 43.88 kB / 1.257 GB, free: 1.215 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.334e-05/1.113, allocations: 27.98 kB / 1.257 GB, free: 1.188 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0009494/1.114, allocations: 0.6005 MB / 1.257 GB, free: 0.5938 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.7e-07/1.114, allocations: 0 / 1.257 GB, free: 0.5938 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0009835/1.115, allocations: 268 kB / 1.257 GB, free: 340 kB / 0.9512 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.0005501/1.116, allocations: 217.6 kB / 1.258 GB, free: 124 kB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002117/1.118, allocations: 0.8118 MB / 1.258 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.291e-06/1.118, allocations: 4 kB / 1.258 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0009246/1.119, allocations: 388.3 kB / 1.259 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002481/1.121, allocations: 0.5778 MB / 1.259 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005154/1.126, allocations: 2.183 MB / 1.261 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009677/1.127, allocations: 1.106 MB / 1.263 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0009029/1.128, allocations: 251.8 kB / 1.263 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003176/1.129, allocations: 75.42 kB / 1.263 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of SimCode: time 3.21e-07/1.129, allocations: 0 / 1.263 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of Templates: time 0.03411/1.163, allocations: 20.94 MB / 1.283 GB, free: 5.996 MB / 0.9825 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 -s gbode -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