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.001442/0.001442, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001486/0.001486, allocations: 214.1 kB / 22.99 MB, free: 4.945 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.577/1.577, 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 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.789/2.789, allocations: 476 MB / 0.7707 GB, free: 4.715 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.002119/0.002119, allocations: 72.61 kB / 1.118 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3615, allocations: 169.9 MB / 1.284 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.2194/0.5809, allocations: 168.4 MB / 1.448 GB, free: 2.848 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.0103/0.5912, allocations: 5.403 MB / 1.454 GB, free: 13.44 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001493/0.5927, allocations: 51.56 kB / 1.454 GB, free: 13.39 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001615/0.5943, allocations: 0.5435 MB / 1.454 GB, free: 12.84 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.004575/0.5989, allocations: 1.692 MB / 1.456 GB, free: 11.14 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.00328/0.6022, allocations: 1.236 MB / 1.457 GB, free: 9.91 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.003598/0.6058, allocations: 2.594 MB / 1.46 GB, free: 7.312 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001181/0.6069, allocations: 0.7434 MB / 1.46 GB, free: 6.551 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002107/0.609, allocations: 1.105 MB / 1.461 GB, free: 5.441 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001936/0.611, allocations: 0.8937 MB / 1.462 GB, free: 4.551 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002019/0.6112, allocations: 108 kB / 1.462 GB, free: 4.445 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002634/0.6138, allocations: 1.29 MB / 1.464 GB, free: 3.152 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0005568/0.6144, allocations: 0.5063 MB / 1.464 GB, free: 2.645 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.000665/0.615, allocations: 0.5329 MB / 1.465 GB, free: 2.109 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003123/0.6182, allocations: 2.153 MB / 1.467 GB, free: 15.95 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.6182, allocations: 0 / 1.467 GB, free: 15.95 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.923e-06/0.6182, allocations: 0 / 1.467 GB, free: 15.95 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.789e-05/0.6182, allocations: 4 kB / 1.467 GB, free: 15.94 MB / 1.17 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.002524/0.6207, allocations: 1.481 MB / 1.468 GB, free: 14.43 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.6207, allocations: 12.03 kB / 1.468 GB, free: 14.41 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002901/0.6237, allocations: 478.8 kB / 1.469 GB, free: 13.95 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001749/0.6254, allocations: 0.7877 MB / 1.469 GB, free: 13.13 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.844e-05/0.6255, allocations: 62 kB / 1.469 GB, free: 13.07 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/0.6256, allocations: 91.92 kB / 1.47 GB, free: 12.98 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002497/0.6281, allocations: 1.551 MB / 1.471 GB, free: 11.31 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.628e-05/0.6281, allocations: 0 / 1.471 GB, free: 11.31 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.669e-05/0.6282, allocations: 40 kB / 1.471 GB, free: 11.27 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.767e-05/0.6283, allocations: 37.98 kB / 1.471 GB, free: 11.24 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002389/0.6307, allocations: 1.062 MB / 1.472 GB, free: 10.18 MB / 1.17 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.006642/0.6373, allocations: 3.141 MB / 1.475 GB, free: 6.957 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001963/0.6393, allocations: 0.7209 MB / 1.476 GB, free: 6.227 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000937/0.6402, allocations: 380.6 kB / 1.476 GB, free: 5.852 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001501/0.6404, allocations: 24.7 kB / 1.476 GB, free: 5.828 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.87e-05/0.6404, allocations: 42.5 kB / 1.476 GB, free: 5.777 MB / 1.17 GB Notification: Performance of pre-optimization done (n=43): time 2.264e-06/0.6404, allocations: 0 / 1.476 GB, free: 5.777 MB / 1.17 GB Notification: Performance of matching and sorting (n=45): time 0.005847/0.6462, allocations: 2.105 MB / 1.478 GB, free: 3.641 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/0.6463, allocations: 59.41 kB / 1.478 GB, free: 3.57 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008461/0.6471, allocations: 0.6682 MB / 1.479 GB, free: 2.891 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 6.555e-05/0.6472, allocations: 37.7 kB / 1.479 GB, free: 2.848 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003943/0.6476, allocations: 0.5076 MB / 1.48 GB, free: 2.332 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001663/0.6478, allocations: 170.5 kB / 1.48 GB, free: 2.164 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002155/0.648, allocations: 122.3 kB / 1.48 GB, free: 2.039 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001925/0.6482, allocations: 378.8 kB / 1.48 GB, free: 1.66 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009659/0.6491, allocations: 373 kB / 1.481 GB, free: 1.293 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001096/0.6502, allocations: 0.5504 MB / 1.481 GB, free: 0.6797 MB / 1.17 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.006206/0.6564, allocations: 2.181 MB / 1.483 GB, free: 14.45 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.6564, allocations: 0 / 1.483 GB, free: 14.45 MB / 1.186 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002403/0.6588, allocations: 0.9694 MB / 1.484 GB, free: 13.48 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.6589, allocations: 11.98 kB / 1.484 GB, free: 13.46 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.6589, allocations: 4 kB / 1.484 GB, free: 13.46 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/0.6589, allocations: 8 kB / 1.484 GB, free: 13.45 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009513/0.6599, allocations: 187.9 kB / 1.484 GB, free: 13.27 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.943e-05/0.6599, allocations: 19.86 kB / 1.484 GB, free: 13.25 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009725/0.6608, allocations: 67.89 kB / 1.485 GB, free: 13.18 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.983e-05/0.6609, allocations: 24 kB / 1.485 GB, free: 13.16 MB / 1.186 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.0005261/0.6614, allocations: 320.3 kB / 1.485 GB, free: 12.84 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001598/0.6616, allocations: 79.53 kB / 1.485 GB, free: 12.76 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002015/0.6618, allocations: 87.14 kB / 1.485 GB, free: 12.67 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.6618, allocations: 4 kB / 1.485 GB, free: 12.67 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.6618, allocations: 3.938 kB / 1.485 GB, free: 12.66 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002058/0.6639, allocations: 1.019 MB / 1.486 GB, free: 11.56 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004553/0.6684, allocations: 1.892 MB / 1.488 GB, free: 9.59 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/0.6684, allocations: 8.031 kB / 1.488 GB, free: 9.582 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008897/0.6693, allocations: 171.7 kB / 1.488 GB, free: 9.414 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.696e-06/0.6693, allocations: 4 kB / 1.488 GB, free: 9.41 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.458e-05/0.6694, allocations: 12 kB / 1.488 GB, free: 9.398 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.605e-06/0.6694, allocations: 7.984 kB / 1.488 GB, free: 9.391 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.6694, allocations: 4 kB / 1.488 GB, free: 9.387 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00322/0.6726, allocations: 1.407 MB / 1.489 GB, free: 7.918 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004642/0.6731, allocations: 163.4 kB / 1.49 GB, free: 7.758 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.6732, allocations: 15.98 kB / 1.49 GB, free: 7.742 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008718/0.674, allocations: 65.69 kB / 1.49 GB, free: 7.68 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.448e-05/0.6741, allocations: 43.81 kB / 1.49 GB, free: 7.637 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.131e-05/0.6742, allocations: 31.98 kB / 1.49 GB, free: 7.605 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0005887/0.6748, allocations: 459 kB / 1.49 GB, free: 7.16 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.6748, allocations: 0 / 1.49 GB, free: 7.16 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0008463/0.6756, allocations: 267.9 kB / 1.49 GB, free: 6.898 MB / 1.186 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.0003672/0.676, allocations: 195.2 kB / 1.491 GB, free: 6.695 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002136/0.6781, allocations: 0.7911 MB / 1.491 GB, free: 5.902 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.6782, allocations: 0.75 kB / 1.491 GB, free: 5.902 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001005/0.6792, allocations: 380.3 kB / 1.492 GB, free: 5.531 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002152/0.6813, allocations: 458.7 kB / 1.492 GB, free: 5.094 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005253/0.6866, allocations: 2.245 MB / 1.494 GB, free: 2.766 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006402/0.6872, allocations: 0.5118 MB / 1.495 GB, free: 2.223 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003661/0.6876, allocations: 71.42 kB / 1.495 GB, free: 2.152 MB / 1.186 GB Notification: Performance of SimCode: time 7.61e-07/0.6876, allocations: 0 / 1.495 GB, free: 2.152 MB / 1.186 GB Notification: Performance of Templates: time 0.02573/0.7133, allocations: 15.54 MB / 1.51 GB, free: 2.734 MB / 1.201 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.452876373194158]