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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.005416/0.005416, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001085/0.001085, allocations: 196.5 kB / 16.67 MB, free: 5.977 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.719/2.719, allocations: 461.9 MB / 0.7347 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 67.84 kB / 1.054 GB, free: 7.094 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3829/0.3844, allocations: 157.4 MB / 1.208 GB, free: 9.594 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 1.026/1.41, allocations: 190.5 MB / 1.394 GB, free: 15.12 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01011/1.42, allocations: 5.71 MB / 1.399 GB, free: 10.47 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001881/1.422, allocations: 41.22 kB / 1.399 GB, free: 10.46 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001679/1.424, allocations: 0.5748 MB / 1.4 GB, free: 9.98 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.004937/1.429, allocations: 1.604 MB / 1.402 GB, free: 8.73 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003914/1.433, allocations: 1.218 MB / 1.403 GB, free: 7.82 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.004454/1.437, allocations: 2.564 MB / 1.405 GB, free: 6.352 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001566/1.439, allocations: 1.043 MB / 1.406 GB, free: 5.734 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002426/1.441, allocations: 1.061 MB / 1.407 GB, free: 5.102 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002142/1.444, allocations: 0.8491 MB / 1.408 GB, free: 4.605 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001917/1.444, allocations: 106.7 kB / 1.408 GB, free: 4.605 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003626/1.447, allocations: 1.556 MB / 1.41 GB, free: 3.766 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0005731/1.448, allocations: 0.4947 MB / 1.41 GB, free: 3.434 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0008982/1.449, allocations: 0.6377 MB / 1.411 GB, free: 3.023 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.00365/1.453, allocations: 2.179 MB / 1.413 GB, free: 1.629 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/1.453, allocations: 3.938 kB / 1.413 GB, free: 1.625 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.984e-06/1.453, allocations: 0 / 1.413 GB, free: 1.625 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.082e-05/1.453, allocations: 2.094 kB / 1.413 GB, free: 1.625 MB / 1.092 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.002649/1.455, allocations: 1.512 MB / 1.414 GB, free: 496 kB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/1.455, allocations: 10.69 kB / 1.414 GB, free: 496 kB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002947/1.458, allocations: 476 kB / 1.415 GB, free: 284 kB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001692/1.46, allocations: 0.855 MB / 1.416 GB, free: 15.61 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.513e-05/1.46, allocations: 66.38 kB / 1.416 GB, free: 15.58 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001376/1.46, allocations: 83.72 kB / 1.416 GB, free: 15.55 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002184/1.462, allocations: 1.175 MB / 1.417 GB, free: 14.88 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.542e-05/1.462, allocations: 0 / 1.417 GB, free: 14.88 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/1.463, allocations: 37.75 kB / 1.417 GB, free: 14.85 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.743e-05/1.463, allocations: 40.48 kB / 1.417 GB, free: 14.84 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002256/1.465, allocations: 1.07 MB / 1.418 GB, free: 14.33 MB / 1.107 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.007146/1.472, allocations: 4.303 MB / 1.422 GB, free: 10.69 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001925/1.474, allocations: 0.7405 MB / 1.423 GB, free: 9.938 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009197/1.475, allocations: 396.6 kB / 1.423 GB, free: 9.547 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002027/1.475, allocations: 105.1 kB / 1.424 GB, free: 9.426 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/1.475, allocations: 42.5 kB / 1.424 GB, free: 9.375 MB / 1.107 GB Notification: Performance of pre-optimization done (n=43): time 4.568e-06/1.475, allocations: 3.938 kB / 1.424 GB, free: 9.371 MB / 1.107 GB Notification: Performance of matching and sorting (n=45): time 0.005966/1.481, allocations: 2.181 MB / 1.426 GB, free: 7.137 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/1.481, allocations: 59.34 kB / 1.426 GB, free: 7.066 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001111/1.482, allocations: 0.8608 MB / 1.427 GB, free: 6.195 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.84e-05/1.482, allocations: 37.7 kB / 1.427 GB, free: 6.152 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003778/1.483, allocations: 495.3 kB / 1.427 GB, free: 5.664 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001591/1.483, allocations: 161.6 kB / 1.427 GB, free: 5.504 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002303/1.483, allocations: 126.2 kB / 1.427 GB, free: 5.375 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001319/1.483, allocations: 330 kB / 1.428 GB, free: 5.047 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009453/1.484, allocations: 369 kB / 1.428 GB, free: 4.684 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001068/1.485, allocations: 0.5013 MB / 1.429 GB, free: 4.133 MB / 1.107 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.006185/1.492, allocations: 2.259 MB / 1.431 GB, free: 1.805 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.287e-06/1.492, allocations: 8 kB / 1.431 GB, free: 1.797 MB / 1.107 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002586/1.494, allocations: 0.9819 MB / 1.432 GB, free: 0.8086 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/1.494, allocations: 4 kB / 1.432 GB, free: 0.8047 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/1.494, allocations: 4 kB / 1.432 GB, free: 0.8008 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.479e-05/1.494, allocations: 8.125 kB / 1.432 GB, free: 0.793 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009982/1.495, allocations: 196.6 kB / 1.432 GB, free: 0.6016 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.638e-05/1.495, allocations: 15.88 kB / 1.432 GB, free: 0.5859 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/1.497, allocations: 63.92 kB / 1.432 GB, free: 0.5234 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-05/1.497, allocations: 28 kB / 1.432 GB, free: 0.4961 MB / 1.107 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.0006414/1.497, allocations: 309.5 kB / 1.432 GB, free: 188 kB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002404/1.497, allocations: 94.88 kB / 1.432 GB, free: 92 kB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003009/1.498, allocations: 104.8 kB / 1.433 GB, free: 15.98 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/1.498, allocations: 7.984 kB / 1.433 GB, free: 15.97 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.697e-05/1.498, allocations: 9.062 kB / 1.433 GB, free: 15.96 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002104/1.5, allocations: 1.026 MB / 1.434 GB, free: 14.85 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005429/1.505, allocations: 2.137 MB / 1.436 GB, free: 12.62 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.726e-06/1.505, allocations: 4.062 kB / 1.436 GB, free: 12.61 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000867/1.506, allocations: 175.7 kB / 1.436 GB, free: 12.44 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-05/1.506, allocations: 4 kB / 1.436 GB, free: 12.44 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.297e-05/1.506, allocations: 12 kB / 1.436 GB, free: 12.43 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.548e-05/1.506, allocations: 11.98 kB / 1.436 GB, free: 12.41 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/1.506, allocations: 4 kB / 1.436 GB, free: 12.41 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00329/1.51, allocations: 1.41 MB / 1.437 GB, free: 10.93 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006311/1.51, allocations: 255.9 kB / 1.437 GB, free: 10.66 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002378/1.511, allocations: 15.98 kB / 1.437 GB, free: 10.65 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/1.512, allocations: 68.75 kB / 1.438 GB, free: 10.58 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/1.512, allocations: 43.83 kB / 1.438 GB, free: 10.54 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.158e-05/1.512, allocations: 31.98 kB / 1.438 GB, free: 10.51 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001015/1.513, allocations: 0.6005 MB / 1.438 GB, free: 9.914 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.61e-07/1.513, allocations: 0 / 1.438 GB, free: 9.914 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001178/1.514, allocations: 268 kB / 1.438 GB, free: 9.652 MB / 1.123 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.0006434/1.515, allocations: 215.5 kB / 1.439 GB, free: 9.441 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002243/1.517, allocations: 0.8084 MB / 1.439 GB, free: 8.637 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.203e-05/1.517, allocations: 8.188 kB / 1.439 GB, free: 8.629 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001026/1.518, allocations: 384.3 kB / 1.44 GB, free: 8.254 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002901/1.521, allocations: 0.5928 MB / 1.44 GB, free: 7.672 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005415/1.526, allocations: 2.171 MB / 1.443 GB, free: 5.426 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009193/1.527, allocations: 1.106 MB / 1.444 GB, free: 4.293 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001069/1.528, allocations: 263.8 kB / 1.444 GB, free: 4.031 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003459/1.529, allocations: 75.42 kB / 1.444 GB, free: 3.961 MB / 1.123 GB Notification: Performance of SimCode: time 9.52e-07/1.529, allocations: 0 / 1.444 GB, free: 3.961 MB / 1.123 GB Notification: Performance of Templates: time 0.03766/1.566, allocations: 21.43 MB / 1.465 GB, free: 14.83 MB / 1.154 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