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.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.001893/0.001893, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002403/0.002403, allocations: 222 kB / 23 MB, free: 4.91 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.462/1.462, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.318/3.318, allocations: 0.5107 GB / 0.8166 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002096/0.002096, allocations: 61.88 kB / 1.187 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3455, allocations: 181.9 MB / 1.365 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.2227/0.5683, allocations: 168.5 MB / 1.529 GB, free: 4.445 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01106/0.5793, allocations: 5.429 MB / 1.534 GB, free: 15.01 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001444/0.5808, allocations: 51.56 kB / 1.535 GB, free: 14.96 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001884/0.5826, allocations: 0.5435 MB / 1.535 GB, free: 14.41 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.00501/0.5877, allocations: 1.688 MB / 1.537 GB, free: 12.71 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.003817/0.5915, allocations: 1.234 MB / 1.538 GB, free: 11.49 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.004199/0.5957, allocations: 2.593 MB / 1.54 GB, free: 8.883 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001446/0.5971, allocations: 0.7435 MB / 1.541 GB, free: 8.121 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002921/0.6, allocations: 1.288 MB / 1.542 GB, free: 6.828 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00239/0.6024, allocations: 0.857 MB / 1.543 GB, free: 5.973 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0003073/0.6027, allocations: 108 kB / 1.543 GB, free: 5.867 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002963/0.6057, allocations: 1.282 MB / 1.545 GB, free: 4.582 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0006821/0.6064, allocations: 0.5103 MB / 1.545 GB, free: 4.07 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.00089/0.6073, allocations: 0.529 MB / 1.546 GB, free: 3.539 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.004012/0.6113, allocations: 2.157 MB / 1.548 GB, free: 1.375 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.6113, allocations: 0 / 1.548 GB, free: 1.375 MB / 1.232 GB Notification: Performance of FrontEnd: time 4.93e-06/0.6113, allocations: 3.984 kB / 1.548 GB, free: 1.371 MB / 1.232 GB Notification: Performance of Transformations before backend: time 2.772e-05/0.6113, allocations: 0 / 1.548 GB, free: 1.371 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.002987/0.6143, allocations: 1.477 MB / 1.549 GB, free: 15.85 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.6143, allocations: 12.03 kB / 1.549 GB, free: 15.84 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00314/0.6175, allocations: 482.6 kB / 1.55 GB, free: 15.37 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00197/0.6195, allocations: 0.7828 MB / 1.55 GB, free: 14.56 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.719e-05/0.6195, allocations: 66 kB / 1.55 GB, free: 14.5 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001462/0.6197, allocations: 87.94 kB / 1.551 GB, free: 14.41 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002736/0.6224, allocations: 1.559 MB / 1.552 GB, free: 12.74 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.863e-05/0.6224, allocations: 0 / 1.552 GB, free: 12.74 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001112/0.6226, allocations: 40 kB / 1.552 GB, free: 12.7 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.573e-05/0.6226, allocations: 30 kB / 1.552 GB, free: 12.67 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002589/0.6252, allocations: 1.062 MB / 1.553 GB, free: 11.61 MB / 1.248 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.007491/0.6327, allocations: 3.141 MB / 1.556 GB, free: 8.391 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002197/0.6349, allocations: 0.7231 MB / 1.557 GB, free: 7.66 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009925/0.6359, allocations: 388.5 kB / 1.557 GB, free: 7.277 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001753/0.636, allocations: 27.98 kB / 1.557 GB, free: 7.25 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000118/0.6362, allocations: 38.56 kB / 1.557 GB, free: 7.203 MB / 1.248 GB Notification: Performance of pre-optimization done (n=43): time 2.735e-06/0.6362, allocations: 0 / 1.557 GB, free: 7.203 MB / 1.248 GB Notification: Performance of matching and sorting (n=45): time 0.006574/0.6427, allocations: 2.101 MB / 1.559 GB, free: 5.07 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.6428, allocations: 59.34 kB / 1.559 GB, free: 5 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009778/0.6438, allocations: 0.6721 MB / 1.56 GB, free: 4.316 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 8.548e-05/0.6439, allocations: 33.7 kB / 1.56 GB, free: 4.277 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004529/0.6443, allocations: 0.5038 MB / 1.561 GB, free: 3.766 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001891/0.6445, allocations: 166.5 kB / 1.561 GB, free: 3.602 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002324/0.6447, allocations: 126.2 kB / 1.561 GB, free: 3.473 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0002264/0.645, allocations: 378.8 kB / 1.561 GB, free: 3.094 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00101/0.646, allocations: 373 kB / 1.562 GB, free: 2.73 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001186/0.6472, allocations: 0.5437 MB / 1.562 GB, free: 2.121 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.006711/0.6539, allocations: 2.2 MB / 1.564 GB, free: 15.87 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.6539, allocations: 0 / 1.564 GB, free: 15.87 MB / 1.264 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00257/0.6564, allocations: 0.9733 MB / 1.565 GB, free: 14.89 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.6565, allocations: 8 kB / 1.565 GB, free: 14.88 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.6565, allocations: 4 kB / 1.565 GB, free: 14.88 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.422e-05/0.6565, allocations: 4 kB / 1.565 GB, free: 14.87 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009879/0.6575, allocations: 191.8 kB / 1.565 GB, free: 14.68 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.89e-05/0.6575, allocations: 11.94 kB / 1.566 GB, free: 14.67 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/0.6585, allocations: 67.94 kB / 1.566 GB, free: 14.61 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.53e-05/0.6586, allocations: 27.92 kB / 1.566 GB, free: 14.58 MB / 1.264 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.0006085/0.6592, allocations: 321.5 kB / 1.566 GB, free: 14.25 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001815/0.6594, allocations: 83.48 kB / 1.566 GB, free: 14.17 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000213/0.6596, allocations: 87.14 kB / 1.566 GB, free: 14.09 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.6596, allocations: 7.984 kB / 1.566 GB, free: 14.08 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/0.6596, allocations: 3.938 kB / 1.566 GB, free: 14.07 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002214/0.6618, allocations: 1.022 MB / 1.567 GB, free: 12.96 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005009/0.6668, allocations: 1.879 MB / 1.569 GB, free: 11.01 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/0.6669, allocations: 4.031 kB / 1.569 GB, free: 11 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000907/0.6678, allocations: 163.8 kB / 1.569 GB, free: 10.84 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-05/0.6678, allocations: 8 kB / 1.569 GB, free: 10.84 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.887e-05/0.6678, allocations: 19.98 kB / 1.569 GB, free: 10.82 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.107e-06/0.6678, allocations: 7.938 kB / 1.569 GB, free: 10.81 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.6678, allocations: 4 kB / 1.569 GB, free: 10.8 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003446/0.6713, allocations: 1.399 MB / 1.57 GB, free: 9.344 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005681/0.6718, allocations: 167.4 kB / 1.571 GB, free: 9.18 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/0.672, allocations: 11.94 kB / 1.571 GB, free: 9.168 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000881/0.6728, allocations: 76.52 kB / 1.571 GB, free: 9.094 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.743e-05/0.6729, allocations: 35.83 kB / 1.571 GB, free: 9.059 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000104/0.673, allocations: 31.97 kB / 1.571 GB, free: 9.027 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0006852/0.6737, allocations: 463 kB / 1.571 GB, free: 8.578 MB / 1.264 GB Notification: Performance of sort global known variables: time 8e-08/0.6737, allocations: 0 / 1.571 GB, free: 8.578 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0009816/0.6747, allocations: 263.9 kB / 1.571 GB, free: 8.32 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.000398/0.6751, allocations: 195.1 kB / 1.572 GB, free: 8.117 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.002248/0.6773, allocations: 0.7884 MB / 1.572 GB, free: 7.332 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.6774, allocations: 0.75 kB / 1.572 GB, free: 7.332 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.00104/0.6784, allocations: 388.6 kB / 1.573 GB, free: 6.953 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002169/0.6806, allocations: 454.9 kB / 1.573 GB, free: 6.523 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006351/0.6869, allocations: 2.238 MB / 1.575 GB, free: 4.203 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006805/0.6876, allocations: 0.5118 MB / 1.576 GB, free: 3.656 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004467/0.688, allocations: 75.36 kB / 1.576 GB, free: 3.582 MB / 1.264 GB Notification: Performance of SimCode: time 2.164e-06/0.688, allocations: 0 / 1.576 GB, free: 3.582 MB / 1.264 GB Notification: Performance of Templates: time 0.02722/0.7153, allocations: 15.54 MB / 1.591 GB, free: 4.16 MB / 1.279 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 800] 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) [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.191632326692343]