Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001434/0.001434, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001538/0.001538, allocations: 217.5 kB / 22.26 MB, free: 5.082 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.408/1.408, allocations: 230.6 MB / 256 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.089/3.089, allocations: 0.49 GB / 0.7951 GB, free: 33.48 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.001941/0.001941, allocations: 65.06 kB / 1.154 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3477, allocations: 176.1 MB / 1.326 GB, free: 1.391 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.2421/0.5898, allocations: 194.5 MB / 1.516 GB, free: 14.18 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01149/0.6013, allocations: 5.76 MB / 1.522 GB, free: 8.402 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001669/0.6029, allocations: 55.5 kB / 1.522 GB, free: 8.348 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.002026/0.605, allocations: 0.6059 MB / 1.523 GB, free: 7.738 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.005026/0.61, allocations: 1.7 MB / 1.524 GB, free: 6.031 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003714/0.6137, allocations: 1.27 MB / 1.525 GB, free: 4.773 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.004277/0.618, allocations: 2.614 MB / 1.528 GB, free: 2.152 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001522/0.6195, allocations: 0.7552 MB / 1.529 GB, free: 1.379 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003116/0.6226, allocations: 1.273 MB / 1.53 GB, free: 104 kB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002777/0.6254, allocations: 0.9078 MB / 1.531 GB, free: 15.2 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0004225/0.6258, allocations: 108 kB / 1.531 GB, free: 15.09 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004481/0.6303, allocations: 1.637 MB / 1.533 GB, free: 13.45 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0009278/0.6312, allocations: 0.5064 MB / 1.533 GB, free: 12.94 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001789/0.633, allocations: 0.6455 MB / 1.534 GB, free: 12.29 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.005022/0.638, allocations: 2.188 MB / 1.536 GB, free: 10.1 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.638, allocations: 0 / 1.536 GB, free: 10.1 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.483e-06/0.638, allocations: 0 / 1.536 GB, free: 10.1 MB / 1.232 GB Notification: Performance of Transformations before backend: time 5.092e-05/0.6381, allocations: 0 / 1.536 GB, free: 10.1 MB / 1.232 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.00369/0.6418, allocations: 1.481 MB / 1.537 GB, free: 8.578 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.6418, allocations: 16.03 kB / 1.537 GB, free: 8.562 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003306/0.6451, allocations: 474.8 kB / 1.538 GB, free: 8.098 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002082/0.6472, allocations: 0.7799 MB / 1.539 GB, free: 7.289 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.438e-05/0.6473, allocations: 69.98 kB / 1.539 GB, free: 7.223 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001933/0.6475, allocations: 84 kB / 1.539 GB, free: 7.141 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002591/0.6501, allocations: 1.179 MB / 1.54 GB, free: 5.938 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.461e-05/0.6501, allocations: 0 / 1.54 GB, free: 5.938 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/0.6502, allocations: 36 kB / 1.54 GB, free: 5.902 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.96e-05/0.6503, allocations: 37.98 kB / 1.54 GB, free: 5.867 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002642/0.6529, allocations: 1.066 MB / 1.541 GB, free: 4.797 MB / 1.232 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.008392/0.6613, allocations: 4.425 MB / 1.545 GB, free: 80 kB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001993/0.6633, allocations: 0.7247 MB / 1.546 GB, free: 15.34 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009744/0.6643, allocations: 384.4 kB / 1.546 GB, free: 14.96 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001541/0.6644, allocations: 31.97 kB / 1.546 GB, free: 14.93 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.892e-05/0.6645, allocations: 38.56 kB / 1.546 GB, free: 14.89 MB / 1.248 GB Notification: Performance of pre-optimization done (n=43): time 2.354e-06/0.6645, allocations: 0 / 1.546 GB, free: 14.89 MB / 1.248 GB Notification: Performance of matching and sorting (n=45): time 0.006275/0.6707, allocations: 2.124 MB / 1.548 GB, free: 12.72 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.476e-05/0.6708, allocations: 59.34 kB / 1.549 GB, free: 12.65 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001679/0.6725, allocations: 0.8686 MB / 1.549 GB, free: 11.78 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0001122/0.6726, allocations: 37.7 kB / 1.549 GB, free: 11.73 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.000577/0.6732, allocations: 0.4924 MB / 1.55 GB, free: 11.23 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002452/0.6734, allocations: 170.6 kB / 1.55 GB, free: 11.07 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002979/0.6737, allocations: 118.3 kB / 1.55 GB, free: 10.95 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0002129/0.6739, allocations: 334 kB / 1.55 GB, free: 10.61 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001018/0.675, allocations: 361 kB / 1.551 GB, free: 10.26 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001198/0.6761, allocations: 0.5013 MB / 1.551 GB, free: 9.707 MB / 1.248 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.006478/0.6826, allocations: 2.188 MB / 1.553 GB, free: 7.465 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.75e-06/0.6826, allocations: 0 / 1.553 GB, free: 7.465 MB / 1.248 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002719/0.6853, allocations: 0.9927 MB / 1.554 GB, free: 6.469 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 3.082e-05/0.6854, allocations: 12.12 kB / 1.554 GB, free: 6.457 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.718e-05/0.6854, allocations: 4 kB / 1.554 GB, free: 6.453 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.64e-05/0.6854, allocations: 8 kB / 1.554 GB, free: 6.445 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009635/0.6864, allocations: 187.7 kB / 1.555 GB, free: 6.262 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.219e-05/0.6864, allocations: 15.92 kB / 1.555 GB, free: 6.246 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/0.6876, allocations: 63.94 kB / 1.555 GB, free: 6.184 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.986e-05/0.6876, allocations: 23.98 kB / 1.555 GB, free: 6.16 MB / 1.248 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.0006224/0.6883, allocations: 317.5 kB / 1.555 GB, free: 5.84 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002498/0.6885, allocations: 99.39 kB / 1.555 GB, free: 5.742 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002639/0.6888, allocations: 112.7 kB / 1.555 GB, free: 5.633 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.6888, allocations: 7.938 kB / 1.555 GB, free: 5.625 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.6888, allocations: 0 / 1.555 GB, free: 5.625 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002085/0.6909, allocations: 1.019 MB / 1.556 GB, free: 4.52 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005277/0.6961, allocations: 2.112 MB / 1.558 GB, free: 2.316 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.401e-05/0.6962, allocations: 4 kB / 1.558 GB, free: 2.312 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008537/0.697, allocations: 164 kB / 1.558 GB, free: 2.152 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.717e-06/0.697, allocations: 4 kB / 1.558 GB, free: 2.148 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.247e-05/0.6971, allocations: 16 kB / 1.558 GB, free: 2.133 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-05/0.6971, allocations: 11.94 kB / 1.558 GB, free: 2.121 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.725e-06/0.6971, allocations: 7.938 kB / 1.559 GB, free: 2.113 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003267/0.7004, allocations: 1.415 MB / 1.56 GB, free: 0.6406 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006057/0.701, allocations: 183.4 kB / 1.56 GB, free: 472 kB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002282/0.7012, allocations: 12 kB / 1.56 GB, free: 460 kB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/0.7022, allocations: 78.48 kB / 1.56 GB, free: 384 kB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.7023, allocations: 47.83 kB / 1.56 GB, free: 336 kB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.693e-05/0.7024, allocations: 31.97 kB / 1.56 GB, free: 304 kB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001147/0.7036, allocations: 0.6005 MB / 1.561 GB, free: 15.7 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7036, allocations: 0 / 1.561 GB, free: 15.7 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001125/0.7047, allocations: 267.9 kB / 1.561 GB, free: 15.44 MB / 1.264 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.0005463/0.7052, allocations: 204.3 kB / 1.561 GB, free: 15.23 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.002251/0.7075, allocations: 0.7839 MB / 1.562 GB, free: 14.44 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/0.7075, allocations: 4.125 kB / 1.562 GB, free: 14.43 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0009683/0.7085, allocations: 384.3 kB / 1.562 GB, free: 14.06 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002863/0.7113, allocations: 0.5762 MB / 1.563 GB, free: 13.5 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005525/0.7169, allocations: 2.206 MB / 1.565 GB, free: 11.21 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009578/0.7178, allocations: 1.107 MB / 1.566 GB, free: 10.08 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001074/0.7189, allocations: 255.8 kB / 1.566 GB, free: 9.824 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003589/0.7193, allocations: 79.42 kB / 1.567 GB, free: 9.746 MB / 1.264 GB Notification: Performance of SimCode: time 9.31e-07/0.7193, allocations: 0 / 1.567 GB, free: 9.746 MB / 1.264 GB Notification: Performance of Templates: time 0.04229/0.7615, allocations: 21.7 MB / 1.588 GB, free: 4.371 MB / 1.279 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.395262537058443]