Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001759/0.001759, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002315/0.002315, allocations: 216.9 kB / 23.01 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.784/2.784, allocations: 476.7 MB / 0.7714 GB, free: 4.277 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 67.12 kB / 1.119 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3526/0.3546, allocations: 170 MB / 1.285 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.2387/0.5934, allocations: 194.4 MB / 1.475 GB, free: 8.016 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01052/0.6039, allocations: 5.758 MB / 1.48 GB, free: 2.25 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001577/0.6055, allocations: 51.56 kB / 1.48 GB, free: 2.199 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001794/0.6072, allocations: 0.5981 MB / 1.481 GB, free: 1.598 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.004663/0.6119, allocations: 1.703 MB / 1.482 GB, free: 15.89 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003645/0.6156, allocations: 1.257 MB / 1.484 GB, free: 14.64 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.004148/0.6197, allocations: 2.624 MB / 1.486 GB, free: 12.01 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001476/0.6212, allocations: 0.7513 MB / 1.487 GB, free: 11.24 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002438/0.6236, allocations: 1.105 MB / 1.488 GB, free: 10.13 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002176/0.6258, allocations: 0.9161 MB / 1.489 GB, free: 9.215 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002239/0.626, allocations: 108 kB / 1.489 GB, free: 9.109 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003558/0.6296, allocations: 1.66 MB / 1.491 GB, free: 7.445 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0007236/0.6303, allocations: 0.5064 MB / 1.491 GB, free: 6.938 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0009884/0.6313, allocations: 0.6338 MB / 1.492 GB, free: 6.301 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004096/0.6354, allocations: 2.188 MB / 1.494 GB, free: 4.105 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.6354, allocations: 4 kB / 1.494 GB, free: 4.102 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.843e-06/0.6354, allocations: 0 / 1.494 GB, free: 4.102 MB / 1.186 GB Notification: Performance of Transformations before backend: time 3.071e-05/0.6354, allocations: 0 / 1.494 GB, free: 4.102 MB / 1.186 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.002897/0.6383, allocations: 1.488 MB / 1.495 GB, free: 2.574 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.6384, allocations: 8.031 kB / 1.495 GB, free: 2.566 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003021/0.6414, allocations: 478.7 kB / 1.496 GB, free: 2.098 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001872/0.6433, allocations: 0.78 MB / 1.497 GB, free: 1.289 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.208e-05/0.6433, allocations: 66 kB / 1.497 GB, free: 1.227 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/0.6435, allocations: 84 kB / 1.497 GB, free: 1.145 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002387/0.6459, allocations: 1.187 MB / 1.498 GB, free: 15.93 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.504e-05/0.6459, allocations: 0 / 1.498 GB, free: 15.93 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001077/0.646, allocations: 36 kB / 1.498 GB, free: 15.89 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.248e-05/0.646, allocations: 38 kB / 1.498 GB, free: 15.86 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002422/0.6485, allocations: 1.066 MB / 1.499 GB, free: 14.79 MB / 1.201 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.007991/0.6565, allocations: 4.258 MB / 1.503 GB, free: 10.28 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001939/0.6584, allocations: 0.727 MB / 1.504 GB, free: 9.547 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009251/0.6593, allocations: 395.7 kB / 1.504 GB, free: 9.16 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001663/0.6595, allocations: 24.7 kB / 1.504 GB, free: 9.137 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.587e-05/0.6595, allocations: 42.5 kB / 1.504 GB, free: 9.086 MB / 1.201 GB Notification: Performance of pre-optimization done (n=43): time 2.374e-06/0.6595, allocations: 0 / 1.504 GB, free: 9.086 MB / 1.201 GB Notification: Performance of matching and sorting (n=45): time 0.006132/0.6657, allocations: 2.125 MB / 1.506 GB, free: 6.93 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.487e-05/0.6657, allocations: 59.34 kB / 1.506 GB, free: 6.859 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00129/0.667, allocations: 0.8647 MB / 1.507 GB, free: 5.984 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001055/0.6671, allocations: 41.7 kB / 1.507 GB, free: 5.938 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004427/0.6676, allocations: 0.4924 MB / 1.508 GB, free: 5.438 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002058/0.6678, allocations: 174.5 kB / 1.508 GB, free: 5.266 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002296/0.668, allocations: 118.3 kB / 1.508 GB, free: 5.145 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.6682, allocations: 326 kB / 1.508 GB, free: 4.82 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009296/0.6691, allocations: 377 kB / 1.509 GB, free: 4.449 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001062/0.6701, allocations: 0.4935 MB / 1.509 GB, free: 3.902 MB / 1.201 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.006045/0.6762, allocations: 2.185 MB / 1.511 GB, free: 1.668 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/0.6762, allocations: 8 kB / 1.511 GB, free: 1.66 MB / 1.201 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002452/0.6787, allocations: 0.9888 MB / 1.512 GB, free: 0.668 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.6787, allocations: 4 kB / 1.512 GB, free: 0.6641 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.6787, allocations: 7.938 kB / 1.512 GB, free: 0.6562 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.589e-05/0.6787, allocations: 8 kB / 1.512 GB, free: 0.6484 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009521/0.6797, allocations: 199.8 kB / 1.513 GB, free: 464 kB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.86e-05/0.6797, allocations: 7.938 kB / 1.513 GB, free: 456 kB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/0.6807, allocations: 63.94 kB / 1.513 GB, free: 392 kB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.359e-05/0.6808, allocations: 27.98 kB / 1.513 GB, free: 364 kB / 1.201 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.0006086/0.6814, allocations: 309.5 kB / 1.513 GB, free: 44 kB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002342/0.6817, allocations: 99.58 kB / 1.513 GB, free: 15.94 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002385/0.6819, allocations: 108.8 kB / 1.513 GB, free: 15.83 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/0.6819, allocations: 11.75 kB / 1.513 GB, free: 15.82 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.6819, allocations: 0 / 1.513 GB, free: 15.82 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002023/0.6839, allocations: 1.019 MB / 1.514 GB, free: 14.72 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005065/0.689, allocations: 2.117 MB / 1.516 GB, free: 12.51 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/0.689, allocations: 4 kB / 1.516 GB, free: 12.51 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008683/0.6899, allocations: 168.2 kB / 1.516 GB, free: 12.34 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.127e-05/0.6899, allocations: 4 kB / 1.516 GB, free: 12.34 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.706e-05/0.6899, allocations: 12 kB / 1.516 GB, free: 12.33 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.738e-06/0.6899, allocations: 11.92 kB / 1.516 GB, free: 12.32 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.6899, allocations: 7.938 kB / 1.516 GB, free: 12.31 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003158/0.6931, allocations: 1.422 MB / 1.518 GB, free: 10.82 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006329/0.6937, allocations: 179.4 kB / 1.518 GB, free: 10.65 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001437/0.6939, allocations: 12 kB / 1.518 GB, free: 10.64 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008782/0.6948, allocations: 72.95 kB / 1.518 GB, free: 10.57 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.778e-05/0.6949, allocations: 43.81 kB / 1.518 GB, free: 10.52 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-05/0.6949, allocations: 27.98 kB / 1.518 GB, free: 10.5 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0008743/0.6958, allocations: 0.6044 MB / 1.519 GB, free: 9.895 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.6958, allocations: 0 / 1.519 GB, free: 9.895 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0009088/0.6967, allocations: 267.9 kB / 1.519 GB, free: 9.633 MB / 1.217 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.0004118/0.6971, allocations: 205.8 kB / 1.519 GB, free: 9.422 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002103/0.6992, allocations: 0.7875 MB / 1.52 GB, free: 8.633 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/0.6992, allocations: 4 kB / 1.52 GB, free: 8.629 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0009412/0.7002, allocations: 380.7 kB / 1.52 GB, free: 8.258 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002687/0.7029, allocations: 0.5743 MB / 1.521 GB, free: 7.695 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005268/0.7081, allocations: 2.278 MB / 1.523 GB, free: 5.332 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008297/0.709, allocations: 1.107 MB / 1.524 GB, free: 4.199 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004099/0.7094, allocations: 83.39 kB / 1.524 GB, free: 4.117 MB / 1.217 GB Notification: Performance of SimCode: time 1.102e-06/0.7094, allocations: 0 / 1.524 GB, free: 4.117 MB / 1.217 GB Notification: Performance of Templates: time 0.02824/0.7376, allocations: 17.08 MB / 1.541 GB, free: 3.191 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,volDyn.ports[1].m_flow,gain.y,volDyn.C[1],volSte.C[1] Variables in the result:gain.y,time,volDyn.C[1],volDyn.ports[1].m_flow,volSte.C[1] [Calling sys.exit(0), Time elapsed: 14.865534606011352]