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.001921/0.001921, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002538/0.002538, allocations: 211.5 kB / 22.25 MB, free: 4.859 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.598/1.598, allocations: 230.6 MB / 256 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.464/3.464, allocations: 0.5107 GB / 0.8158 GB, free: 17.88 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.0021/0.0021, allocations: 72.5 kB / 1.186 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4157/0.4178, allocations: 181.9 MB / 1.364 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.2372/0.655, allocations: 168.5 MB / 1.528 GB, free: 4.504 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01191/0.6669, allocations: 5.439 MB / 1.534 GB, free: 15.05 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001939/0.6688, allocations: 55.56 kB / 1.534 GB, free: 15 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.002063/0.6709, allocations: 0.5358 MB / 1.534 GB, free: 14.46 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.00544/0.6763, allocations: 1.692 MB / 1.536 GB, free: 12.76 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.004175/0.6805, allocations: 1.226 MB / 1.537 GB, free: 11.54 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.004428/0.6849, allocations: 2.593 MB / 1.54 GB, free: 8.938 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00168/0.6866, allocations: 0.7435 MB / 1.54 GB, free: 8.176 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003623/0.6902, allocations: 1.288 MB / 1.542 GB, free: 6.883 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002843/0.6931, allocations: 0.871 MB / 1.542 GB, free: 6.016 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0004141/0.6935, allocations: 108 kB / 1.543 GB, free: 5.91 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003444/0.6969, allocations: 1.282 MB / 1.544 GB, free: 4.625 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.000869/0.6978, allocations: 0.5025 MB / 1.544 GB, free: 4.121 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001282/0.6991, allocations: 0.5406 MB / 1.545 GB, free: 3.578 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.004505/0.7036, allocations: 2.153 MB / 1.547 GB, free: 1.418 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.7036, allocations: 0 / 1.547 GB, free: 1.418 MB / 1.232 GB Notification: Performance of FrontEnd: time 2.485e-06/0.7036, allocations: 0 / 1.547 GB, free: 1.418 MB / 1.232 GB Notification: Performance of Transformations before backend: time 7.966e-05/0.7037, allocations: 0 / 1.547 GB, free: 1.418 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.003695/0.7074, allocations: 1.481 MB / 1.548 GB, free: 15.9 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.7074, allocations: 15.97 kB / 1.548 GB, free: 15.88 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003314/0.7107, allocations: 478.7 kB / 1.549 GB, free: 15.41 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002233/0.713, allocations: 0.78 MB / 1.55 GB, free: 14.61 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-05/0.713, allocations: 66 kB / 1.55 GB, free: 14.54 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002059/0.7133, allocations: 84 kB / 1.55 GB, free: 14.46 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002916/0.7162, allocations: 1.559 MB / 1.551 GB, free: 12.79 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.063e-05/0.7162, allocations: 0 / 1.551 GB, free: 12.79 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001157/0.7163, allocations: 43.94 kB / 1.551 GB, free: 12.74 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.154e-05/0.7164, allocations: 30 kB / 1.551 GB, free: 12.71 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00278/0.7191, allocations: 1.066 MB / 1.552 GB, free: 11.65 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.008015/0.7272, allocations: 3.141 MB / 1.555 GB, free: 8.43 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002095/0.7293, allocations: 0.7174 MB / 1.556 GB, free: 7.707 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009929/0.7302, allocations: 382.8 kB / 1.557 GB, free: 7.332 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001834/0.7304, allocations: 23.98 kB / 1.557 GB, free: 7.309 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.427e-05/0.7305, allocations: 50.55 kB / 1.557 GB, free: 7.25 MB / 1.248 GB Notification: Performance of pre-optimization done (n=43): time 2.835e-06/0.7305, allocations: 3.938 kB / 1.557 GB, free: 7.246 MB / 1.248 GB Notification: Performance of matching and sorting (n=45): time 0.006521/0.737, allocations: 2.097 MB / 1.559 GB, free: 5.117 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.613e-05/0.7371, allocations: 63.34 kB / 1.559 GB, free: 5.043 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/0.7381, allocations: 0.6721 MB / 1.559 GB, free: 4.359 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0001103/0.7382, allocations: 33.7 kB / 1.559 GB, free: 4.32 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006353/0.7389, allocations: 0.4999 MB / 1.56 GB, free: 3.812 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002827/0.7392, allocations: 170.5 kB / 1.56 GB, free: 3.645 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002985/0.7395, allocations: 130.2 kB / 1.56 GB, free: 3.512 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0002975/0.7398, allocations: 374.8 kB / 1.561 GB, free: 3.137 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001086/0.7408, allocations: 373 kB / 1.561 GB, free: 2.773 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001287/0.7421, allocations: 0.5437 MB / 1.561 GB, free: 2.164 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.00706/0.7492, allocations: 2.192 MB / 1.564 GB, free: 15.91 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.117e-05/0.7492, allocations: 0 / 1.564 GB, free: 15.91 MB / 1.264 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.003059/0.7523, allocations: 0.9733 MB / 1.565 GB, free: 14.93 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 3.746e-05/0.7523, allocations: 8 kB / 1.565 GB, free: 14.93 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.003e-05/0.7523, allocations: 4 kB / 1.565 GB, free: 14.92 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.064e-05/0.7524, allocations: 8 kB / 1.565 GB, free: 14.91 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009838/0.7533, allocations: 183.9 kB / 1.565 GB, free: 14.73 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.77e-05/0.7534, allocations: 19.86 kB / 1.565 GB, free: 14.71 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001231/0.7546, allocations: 71.88 kB / 1.565 GB, free: 14.64 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000122/0.7547, allocations: 27.98 kB / 1.565 GB, free: 14.62 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.000828/0.7555, allocations: 309.5 kB / 1.565 GB, free: 14.3 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003663/0.7559, allocations: 87.48 kB / 1.565 GB, free: 14.22 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003543/0.7563, allocations: 87.14 kB / 1.565 GB, free: 14.13 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.7563, allocations: 4 kB / 1.565 GB, free: 14.13 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.555e-05/0.7563, allocations: 3.938 kB / 1.565 GB, free: 14.12 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002326/0.7586, allocations: 1.026 MB / 1.566 GB, free: 13.01 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0052/0.7638, allocations: 1.879 MB / 1.568 GB, free: 11.06 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.138e-05/0.7638, allocations: 8.344 kB / 1.568 GB, free: 11.05 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008894/0.7647, allocations: 163.8 kB / 1.568 GB, free: 10.89 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.234e-05/0.7647, allocations: 8 kB / 1.568 GB, free: 10.88 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.024e-05/0.7648, allocations: 19.98 kB / 1.568 GB, free: 10.86 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.418e-06/0.7648, allocations: 7.938 kB / 1.568 GB, free: 10.86 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.7648, allocations: 4 kB / 1.568 GB, free: 10.85 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003351/0.7682, allocations: 1.391 MB / 1.57 GB, free: 9.398 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006509/0.7688, allocations: 167.4 kB / 1.57 GB, free: 9.234 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001983/0.769, allocations: 15.98 kB / 1.57 GB, free: 9.219 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009856/0.77, allocations: 70.12 kB / 1.57 GB, free: 9.152 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.7701, allocations: 43.81 kB / 1.57 GB, free: 9.109 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.66e-05/0.7702, allocations: 27.97 kB / 1.57 GB, free: 9.082 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0007146/0.7709, allocations: 463 kB / 1.57 GB, free: 8.633 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7709, allocations: 0 / 1.57 GB, free: 8.633 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001088/0.772, allocations: 267.9 kB / 1.571 GB, free: 8.371 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.0004645/0.7725, allocations: 195.1 kB / 1.571 GB, free: 8.168 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.002249/0.7747, allocations: 0.7884 MB / 1.572 GB, free: 7.383 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/0.7747, allocations: 4 kB / 1.572 GB, free: 7.379 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.00103/0.7758, allocations: 385.3 kB / 1.572 GB, free: 7.004 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002214/0.778, allocations: 451.2 kB / 1.572 GB, free: 6.574 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005612/0.7836, allocations: 2.173 MB / 1.575 GB, free: 4.328 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007489/0.7843, allocations: 0.5117 MB / 1.575 GB, free: 3.781 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0009127/0.7852, allocations: 226.3 kB / 1.575 GB, free: 3.555 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000316/0.7856, allocations: 79.41 kB / 1.575 GB, free: 3.477 MB / 1.264 GB Notification: Performance of SimCode: time 7.82e-07/0.7856, allocations: 0 / 1.575 GB, free: 3.477 MB / 1.264 GB Notification: Performance of Templates: time 0.03639/0.822, allocations: 19.77 MB / 1.595 GB, free: 144 kB / 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/jenkins/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] Reference file matches [Calling sys.exit(0), Time elapsed: 10.784406865015626]