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.001536/0.001536, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001813/0.001813, allocations: 173 kB / 23.02 MB, free: 1.547 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 1.023/1.023, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.142/2.142, allocations: 429.5 MB / 0.6732 GB, free: 4.055 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.413e-06/1.413e-06, allocations: 0 / 0.8782 GB, free: 6.289 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.619e-05/2.76e-05, allocations: 5.484 kB / 0.8782 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.1358/0.1358, allocations: 151 MB / 1.026 GB, free: 14.72 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.005731/0.1415, allocations: 3.837 MB / 1.029 GB, free: 10.88 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009583/0.1425, allocations: 59.5 kB / 1.03 GB, free: 10.82 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.000713/0.1432, allocations: 281.9 kB / 1.03 GB, free: 10.54 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002145/0.1454, allocations: 1.08 MB / 1.031 GB, free: 9.457 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001889/0.1472, allocations: 0.978 MB / 1.032 GB, free: 8.477 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002707/0.15, allocations: 2.569 MB / 1.034 GB, free: 5.898 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001087/0.151, allocations: 0.7788 MB / 1.035 GB, free: 5.098 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002377/0.1534, allocations: 1.419 MB / 1.036 GB, free: 3.707 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001049/0.1545, allocations: 0.7829 MB / 1.037 GB, free: 2.922 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001866/0.1547, allocations: 108 kB / 1.037 GB, free: 2.816 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001251/0.1559, allocations: 0.6548 MB / 1.038 GB, free: 2.16 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.00042/0.1563, allocations: 0.5338 MB / 1.038 GB, free: 1.625 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0005027/0.1568, allocations: 467 kB / 1.039 GB, free: 1.168 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001836/0.1587, allocations: 1.398 MB / 1.04 GB, free: 15.77 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1587, allocations: 0 / 1.04 GB, free: 15.77 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.213e-06/0.1587, allocations: 4 kB / 1.04 GB, free: 15.76 MB / 1.01 GB Notification: Performance of Transformations before backend: time 3.525e-05/0.1587, allocations: 0 / 1.04 GB, free: 15.76 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.001917/0.1606, allocations: 1.522 MB / 1.042 GB, free: 14.2 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.1607, allocations: 8.031 kB / 1.042 GB, free: 14.19 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001477/0.1621, allocations: 0.4954 MB / 1.042 GB, free: 13.7 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009291/0.1631, allocations: 0.7619 MB / 1.043 GB, free: 12.91 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.8e-05/0.1631, allocations: 70.12 kB / 1.043 GB, free: 12.84 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.1632, allocations: 88 kB / 1.043 GB, free: 12.75 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001213/0.1644, allocations: 1.14 MB / 1.044 GB, free: 11.49 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/0.1645, allocations: 3.953 kB / 1.044 GB, free: 11.48 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.613e-05/0.1645, allocations: 36 kB / 1.044 GB, free: 11.45 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.472e-05/0.1646, allocations: 41.97 kB / 1.044 GB, free: 11.41 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007048/0.1653, allocations: 387.6 kB / 1.045 GB, free: 11.03 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.003691/0.169, allocations: 2.976 MB / 1.048 GB, free: 7.965 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005452/0.1695, allocations: 323 kB / 1.048 GB, free: 7.637 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002682/0.1698, allocations: 142.9 kB / 1.048 GB, free: 7.5 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000113/0.1699, allocations: 27.97 kB / 1.048 GB, free: 7.473 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.1699, allocations: 45.39 kB / 1.048 GB, free: 7.418 MB / 1.01 GB Notification: Performance of pre-optimization done (n=43): time 3.006e-06/0.1699, allocations: 0 / 1.048 GB, free: 7.418 MB / 1.01 GB Notification: Performance of matching and sorting (n=45): time 0.001887/0.1718, allocations: 1.017 MB / 1.049 GB, free: 6.363 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.1718, allocations: 59.34 kB / 1.049 GB, free: 6.293 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005383/0.1724, allocations: 0.6322 MB / 1.05 GB, free: 5.648 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.851e-05/0.1724, allocations: 37.7 kB / 1.05 GB, free: 5.605 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002757/0.1727, allocations: 0.5611 MB / 1.05 GB, free: 5.035 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/0.1728, allocations: 170.5 kB / 1.051 GB, free: 4.867 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001672/0.173, allocations: 131.9 kB / 1.051 GB, free: 4.73 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.1732, allocations: 0.5547 MB / 1.051 GB, free: 4.164 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/0.1734, allocations: 97.25 kB / 1.051 GB, free: 4.066 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004359/0.1738, allocations: 345 kB / 1.052 GB, free: 3.648 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.0008657/0.1747, allocations: 0.6224 MB / 1.052 GB, free: 2.961 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.1747, allocations: 0 / 1.052 GB, free: 2.961 MB / 1.01 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0006658/0.1753, allocations: 497.2 kB / 1.053 GB, free: 2.469 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.1753, allocations: 7.938 kB / 1.053 GB, free: 2.461 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.1753, allocations: 4 kB / 1.053 GB, free: 2.457 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.1754, allocations: 15.92 kB / 1.053 GB, free: 2.441 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004334/0.1758, allocations: 155.8 kB / 1.053 GB, free: 2.289 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.1758, allocations: 15.92 kB / 1.053 GB, free: 2.273 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003858/0.1762, allocations: 44.03 kB / 1.053 GB, free: 2.23 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.42e-05/0.1762, allocations: 23.98 kB / 1.053 GB, free: 2.207 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.0002071/0.1765, allocations: 192.5 kB / 1.053 GB, free: 2.008 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.1766, allocations: 95.48 kB / 1.053 GB, free: 1.914 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001052/0.1767, allocations: 91.11 kB / 1.053 GB, free: 1.816 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.1767, allocations: 7.938 kB / 1.053 GB, free: 1.809 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1767, allocations: 4 kB / 1.053 GB, free: 1.805 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004909/0.1772, allocations: 0.5695 MB / 1.054 GB, free: 1.148 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4593/0.6365, allocations: 1.392 MB / 1.055 GB, free: 77.08 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.6365, allocations: 2.969 kB / 1.055 GB, free: 77.08 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004238/0.6369, allocations: 138.1 kB / 1.055 GB, free: 77.08 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.837e-06/0.6369, allocations: 5.688 kB / 1.055 GB, free: 77.08 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.163e-05/0.6369, allocations: 19.17 kB / 1.055 GB, free: 77.08 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.311e-06/0.6369, allocations: 5.469 kB / 1.055 GB, free: 77.08 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.6369, allocations: 5.781 kB / 1.055 GB, free: 77.08 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008975/0.6378, allocations: 0.7119 MB / 1.056 GB, free: 76.74 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002754/0.6381, allocations: 153.9 kB / 1.056 GB, free: 76.74 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.716e-05/0.6382, allocations: 23.8 kB / 1.056 GB, free: 76.74 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003794/0.6386, allocations: 44.97 kB / 1.056 GB, free: 76.74 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.25e-05/0.6387, allocations: 40.61 kB / 1.056 GB, free: 76.74 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.047e-05/0.6387, allocations: 30.91 kB / 1.056 GB, free: 76.74 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002995/0.639, allocations: 406.9 kB / 1.057 GB, free: 76.6 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.639, allocations: 1.062 kB / 1.057 GB, free: 76.6 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0006313/0.6396, allocations: 270.4 kB / 1.057 GB, free: 76.6 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.000292/0.6399, allocations: 170 kB / 1.057 GB, free: 76.52 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0005532/0.6405, allocations: 332.9 kB / 1.058 GB, free: 76.5 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.6405, allocations: 4.188 kB / 1.058 GB, free: 76.5 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001908/0.6407, allocations: 161.6 kB / 1.058 GB, free: 76.49 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/0.6418, allocations: 470.6 kB / 1.058 GB, free: 76.47 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002716/0.6446, allocations: 1.796 MB / 1.06 GB, free: 75.63 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001514/0.6447, allocations: 247.9 kB / 1.06 GB, free: 75.56 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.000534/0.6453, allocations: 195.3 kB / 1.06 GB, free: 75.55 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001869/0.6454, allocations: 71.11 kB / 1.06 GB, free: 75.55 MB / 1.01 GB Notification: Performance of SimCode: time 2.074e-06/0.6454, allocations: 0 / 1.06 GB, free: 75.55 MB / 1.01 GB Notification: Performance of Templates: time 0.02285/0.6683, allocations: 19.21 MB / 1.079 GB, free: 73.9 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.549811236094683]