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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001427/0.001427, allocations: 108 kB / 15.6 MB, free: 132 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.001405/0.001404, allocations: 198.1 kB / 16.54 MB, free: 6.672 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.465/1.465, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.792/2.792, allocations: 437 MB / 0.7104 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.003049/0.003049, allocations: 63.91 kB / 0.8692 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7709/0.774, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.2438/1.018, allocations: 190.5 MB / 1.203 GB, free: 3.285 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01014/1.028, allocations: 5.695 MB / 1.209 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001181/1.029, allocations: 39.75 kB / 1.209 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001439/1.031, allocations: 0.563 MB / 1.209 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004226/1.035, allocations: 1.622 MB / 1.211 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003118/1.038, allocations: 1.202 MB / 1.212 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003447/1.042, allocations: 2.553 MB / 1.215 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001589/1.043, allocations: 1.032 MB / 1.216 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002137/1.045, allocations: 1.051 MB / 1.217 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002054/1.047, allocations: 0.848 MB / 1.218 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000206/1.048, allocations: 112 kB / 1.218 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003292/1.051, allocations: 1.551 MB / 1.219 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0006515/1.052, allocations: 0.4987 MB / 1.22 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0008927/1.052, allocations: 0.6417 MB / 1.22 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003458/1.056, allocations: 2.162 MB / 1.222 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/1.056, allocations: 0 / 1.222 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.865e-06/1.056, allocations: 0 / 1.222 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.955e-05/1.056, allocations: 0 / 1.222 GB, free: 15.65 MB / 0.9825 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.003294/1.059, allocations: 1.524 MB / 1.224 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.338e-05/1.059, allocations: 16.02 kB / 1.224 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003202/1.063, allocations: 462.2 kB / 1.224 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001736/1.064, allocations: 0.824 MB / 1.225 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003841/1.065, allocations: 117.9 kB / 1.225 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001593/1.065, allocations: 87.98 kB / 1.225 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002518/1.067, allocations: 1.19 MB / 1.227 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.767e-05/1.067, allocations: 7.938 kB / 1.227 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/1.068, allocations: 32 kB / 1.227 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.616e-05/1.068, allocations: 38 kB / 1.227 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002646/1.07, allocations: 1.073 MB / 1.228 GB, free: 10.18 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.007821/1.078, allocations: 4.358 MB / 1.232 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002177/1.08, allocations: 0.7715 MB / 1.233 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00105/1.081, allocations: 406.6 kB / 1.233 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001945/1.082, allocations: 105.1 kB / 1.233 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/1.082, allocations: 42.56 kB / 1.233 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=43): time 1.009e-05/1.082, allocations: 0 / 1.233 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of matching and sorting (n=45): time 0.006426/1.088, allocations: 2.21 MB / 1.235 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/1.088, allocations: 55.41 kB / 1.235 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/1.089, allocations: 0.8686 MB / 1.236 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.479e-05/1.089, allocations: 37.7 kB / 1.236 GB, free: 0.9531 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004033/1.09, allocations: 487.3 kB / 1.237 GB, free: 484 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001632/1.09, allocations: 161.6 kB / 1.237 GB, free: 320 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002387/1.09, allocations: 122.2 kB / 1.237 GB, free: 192 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001586/1.09, allocations: 330 kB / 1.237 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001039/1.091, allocations: 377 kB / 1.238 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001198/1.093, allocations: 0.5052 MB / 1.238 GB, free: 14.93 MB / 0.9981 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.006838/1.1, allocations: 2.289 MB / 1.24 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.1, allocations: 0 / 1.24 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002627/1.102, allocations: 0.9937 MB / 1.241 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/1.102, allocations: 8 kB / 1.241 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/1.102, allocations: 4 kB / 1.241 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/1.102, allocations: 12.06 kB / 1.241 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009938/1.103, allocations: 195.7 kB / 1.242 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-05/1.103, allocations: 11.94 kB / 1.242 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/1.104, allocations: 75.83 kB / 1.242 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.25e-05/1.104, allocations: 24 kB / 1.242 GB, free: 11.25 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 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.0005116/1.105, allocations: 310.2 kB / 1.242 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001832/1.105, allocations: 90.97 kB / 1.242 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002326/1.105, allocations: 108.8 kB / 1.242 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.909e-06/1.105, allocations: 11.92 kB / 1.242 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/1.105, allocations: 4 kB / 1.242 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002272/1.108, allocations: 1.026 MB / 1.243 GB, free: 9.605 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004929/1.113, allocations: 2.155 MB / 1.245 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/1.113, allocations: 4 kB / 1.245 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009318/1.114, allocations: 168.2 kB / 1.245 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.224e-05/1.114, allocations: 4 kB / 1.245 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.819e-05/1.114, allocations: 19.88 kB / 1.246 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.064e-05/1.114, allocations: 11.98 kB / 1.246 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/1.114, allocations: 11.94 kB / 1.246 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003454/1.117, allocations: 1.425 MB / 1.247 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004799/1.118, allocations: 255.9 kB / 1.247 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001358/1.118, allocations: 19.98 kB / 1.247 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009324/1.119, allocations: 69.77 kB / 1.247 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.75e-05/1.119, allocations: 39.83 kB / 1.247 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.229e-05/1.119, allocations: 31.97 kB / 1.247 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001004/1.12, allocations: 0.6005 MB / 1.248 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.01e-07/1.12, allocations: 0 / 1.248 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009887/1.121, allocations: 268 kB / 1.248 GB, free: 4.375 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.0005037/1.121, allocations: 209.1 kB / 1.248 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002291/1.124, allocations: 0.8857 MB / 1.249 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/1.124, allocations: 4.75 kB / 1.249 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001068/1.125, allocations: 400.6 kB / 1.25 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002512/1.127, allocations: 0.5876 MB / 1.25 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004962/1.132, allocations: 2.206 MB / 1.252 GB, free: 32 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5395/1.672, allocations: 1.105 MB / 1.253 GB, free: 232.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001522/1.673, allocations: 255.4 kB / 1.254 GB, free: 232.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003254/1.674, allocations: 76.81 kB / 1.254 GB, free: 232.9 MB / 0.9981 GB Notification: Performance of SimCode: time 1.122e-06/1.674, allocations: 1.641 kB / 1.254 GB, free: 232.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.04852/1.722, allocations: 20.96 MB / 1.274 GB, free: 227 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches