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.001346/0.001346, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.001461/0.001461, allocations: 173 kB / 23.49 MB, free: 1.059 MB / 18.57 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 0.9543/0.9543, allocations: 177.1 MB / 203.8 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] 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 2.093/2.093, allocations: 429.5 MB / 0.6736 GB, free: 4.035 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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.[0-9,]+..m_flow|gain.y|volDyn.C.[0-9,]+.|volSte.C.[0-9,]+.",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.[0-9,]+..m_flow|gain.y|volDyn.C.[0-9,]+.|volSte.C.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.8782 GB, free: 6.617 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.657e-05/2.825e-05, allocations: 8.719 kB / 0.8782 GB, free: 6.609 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.6025/0.6026, allocations: 187.7 MB / 1.062 GB, free: 47.6 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.0074/0.61, allocations: 5.821 MB / 1.067 GB, free: 47.56 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001428/0.6114, allocations: 57.09 kB / 1.067 GB, free: 47.56 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001667/0.6131, allocations: 0.5544 MB / 1.068 GB, free: 47.55 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.004553/0.6176, allocations: 1.723 MB / 1.069 GB, free: 47.48 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.003217/0.6208, allocations: 1.255 MB / 1.071 GB, free: 47.45 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.003512/0.6244, allocations: 2.616 MB / 1.073 GB, free: 47.45 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00121/0.6256, allocations: 0.7723 MB / 1.074 GB, free: 47.4 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002807/0.6284, allocations: 1.578 MB / 1.076 GB, free: 47.25 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00178/0.6301, allocations: 0.8301 MB / 1.076 GB, free: 47.17 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.000236/0.6304, allocations: 110.9 kB / 1.076 GB, free: 47.17 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002442/0.6328, allocations: 1.289 MB / 1.078 GB, free: 47.05 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0005036/0.6333, allocations: 0.549 MB / 1.078 GB, free: 46.99 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0006916/0.634, allocations: 475.6 kB / 1.079 GB, free: 46.94 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.00283/0.6369, allocations: 1.694 MB / 1.08 GB, free: 46.75 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.6369, allocations: 0 / 1.08 GB, free: 46.75 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.312e-06/0.6369, allocations: 0 / 1.08 GB, free: 46.75 MB / 1.01 GB Notification: Performance of Transformations before backend: time 3.19e-05/0.6369, allocations: 1.062 kB / 1.08 GB, free: 46.75 MB / 1.01 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.002058/0.6389, allocations: 1.584 MB / 1.082 GB, free: 45.91 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.639, allocations: 9.688 kB / 1.082 GB, free: 45.91 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002121/0.6411, allocations: 0.5159 MB / 1.082 GB, free: 45.8 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/0.6423, allocations: 0.7989 MB / 1.083 GB, free: 45.54 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.737e-05/0.6424, allocations: 63.72 kB / 1.083 GB, free: 45.54 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/0.6425, allocations: 97.11 kB / 1.083 GB, free: 45.54 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/0.6438, allocations: 1.189 MB / 1.085 GB, free: 44.87 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.89e-05/0.6439, allocations: 4.219 kB / 1.085 GB, free: 44.87 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.872e-05/0.644, allocations: 37.22 kB / 1.085 GB, free: 44.87 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.523e-05/0.644, allocations: 38.47 kB / 1.085 GB, free: 44.87 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008862/0.6449, allocations: 389.9 kB / 1.085 GB, free: 44.86 MB / 1.01 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.004137/0.649, allocations: 2.976 MB / 1.088 GB, free: 43.74 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006498/0.6497, allocations: 328.1 kB / 1.088 GB, free: 43.7 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002558/0.6499, allocations: 133.5 kB / 1.088 GB, free: 43.69 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001136/0.6501, allocations: 24.17 kB / 1.088 GB, free: 43.69 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.6501, allocations: 44.58 kB / 1.088 GB, free: 43.64 MB / 1.01 GB Notification: Performance of pre-optimization done (n=43): time 2.435e-06/0.6501, allocations: 0 / 1.088 GB, free: 43.64 MB / 1.01 GB Notification: Performance of matching and sorting (n=45): time 0.002115/0.6522, allocations: 1.015 MB / 1.089 GB, free: 43.26 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.473e-05/0.6522, allocations: 58 kB / 1.089 GB, free: 43.2 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005807/0.6528, allocations: 0.6415 MB / 1.09 GB, free: 42.99 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.767e-05/0.6529, allocations: 35.89 kB / 1.09 GB, free: 42.96 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002535/0.6531, allocations: 0.555 MB / 1.091 GB, free: 42.66 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.000114/0.6532, allocations: 171.9 kB / 1.091 GB, free: 42.55 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000183/0.6534, allocations: 130 kB / 1.091 GB, free: 42.52 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.6535, allocations: 0.558 MB / 1.091 GB, free: 42.02 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002419/0.6538, allocations: 99.58 kB / 1.092 GB, free: 42.02 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003315/0.6541, allocations: 340.3 kB / 1.092 GB, free: 41.75 MB / 1.01 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.001071/0.6552, allocations: 0.6194 MB / 1.092 GB, free: 41.54 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.6552, allocations: 3.656 kB / 1.092 GB, free: 41.54 MB / 1.01 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001005/0.6562, allocations: 496.1 kB / 1.093 GB, free: 41.46 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.6562, allocations: 8.156 kB / 1.093 GB, free: 41.46 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.6562, allocations: 3.719 kB / 1.093 GB, free: 41.46 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.474e-05/0.6562, allocations: 11.25 kB / 1.093 GB, free: 41.45 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006708/0.6569, allocations: 161.4 kB / 1.093 GB, free: 41.45 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.516e-05/0.6569, allocations: 14.31 kB / 1.093 GB, free: 41.45 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005612/0.6575, allocations: 44.89 kB / 1.093 GB, free: 41.45 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.602e-05/0.6575, allocations: 27.45 kB / 1.093 GB, free: 41.45 MB / 1.01 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.0002475/0.6578, allocations: 195.9 kB / 1.093 GB, free: 41.29 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001585/0.6579, allocations: 101.4 kB / 1.094 GB, free: 41.24 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001342/0.6581, allocations: 82.27 kB / 1.094 GB, free: 41.23 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.6581, allocations: 8.812 kB / 1.094 GB, free: 41.22 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.6581, allocations: 4.281 kB / 1.094 GB, free: 41.22 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006034/0.6587, allocations: 0.5759 MB / 1.094 GB, free: 40.78 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002402/0.6611, allocations: 1.396 MB / 1.096 GB, free: 40.32 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.6611, allocations: 2.625 kB / 1.096 GB, free: 40.32 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005098/0.6616, allocations: 135 kB / 1.096 GB, free: 40.32 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.745e-06/0.6616, allocations: 5.844 kB / 1.096 GB, free: 40.32 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.604e-05/0.6617, allocations: 19 kB / 1.096 GB, free: 40.32 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/0.6617, allocations: 8.188 kB / 1.096 GB, free: 40.32 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.6617, allocations: 4.406 kB / 1.096 GB, free: 40.32 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/0.6627, allocations: 0.7136 MB / 1.096 GB, free: 39.92 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002942/0.663, allocations: 163.9 kB / 1.097 GB, free: 39.87 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.6631, allocations: 13.47 kB / 1.097 GB, free: 39.87 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005316/0.6636, allocations: 54.23 kB / 1.097 GB, free: 39.87 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.251e-05/0.6637, allocations: 38.91 kB / 1.097 GB, free: 39.86 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.558e-05/0.6638, allocations: 30.31 kB / 1.097 GB, free: 39.86 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0004208/0.6642, allocations: 411.9 kB / 1.097 GB, free: 39.73 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6642, allocations: 0 / 1.097 GB, free: 39.73 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0009435/0.6651, allocations: 271.1 kB / 1.097 GB, free: 39.72 MB / 1.01 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.0003547/0.6655, allocations: 198.8 kB / 1.098 GB, free: 39.62 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0007668/0.6663, allocations: 328.9 kB / 1.098 GB, free: 39.61 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.6663, allocations: 2.25 kB / 1.098 GB, free: 39.61 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002862/0.6665, allocations: 163.7 kB / 1.098 GB, free: 39.59 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001626/0.6682, allocations: 479.8 kB / 1.098 GB, free: 39.55 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003469/0.6716, allocations: 1.79 MB / 1.1 GB, free: 38.68 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002138/0.6719, allocations: 246.4 kB / 1.1 GB, free: 38.61 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0007533/0.6726, allocations: 189.3 kB / 1.101 GB, free: 38.59 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000245/0.6729, allocations: 70.83 kB / 1.101 GB, free: 38.58 MB / 1.01 GB Notification: Performance of SimCode: time 1.112e-06/0.6729, allocations: 0 / 1.101 GB, free: 38.58 MB / 1.01 GB Notification: Performance of Templates: time 0.03741/0.7103, allocations: 18.4 MB / 1.119 GB, free: 36.75 MB / 1.01 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.249648961005732]