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.001042/0.001042, allocations: 89.06 kB / 19.65 MB, free: 268 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.0009618/0.0009618, allocations: 173 kB / 23.02 MB, free: 1.539 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.9642/0.9642, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.247/2.247, allocations: 429.5 MB / 0.6732 GB, free: 4.023 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.493e-06/1.493e-06, allocations: 0 / 0.8782 GB, free: 6.277 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.743e-05/2.893e-05, allocations: 4.984 kB / 0.8782 GB, free: 6.273 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.1454/0.1454, allocations: 151 MB / 1.026 GB, free: 14.71 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.006486/0.1519, allocations: 3.848 MB / 1.029 GB, free: 10.86 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001311/0.1532, allocations: 55.56 kB / 1.03 GB, free: 10.8 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008711/0.1541, allocations: 285.9 kB / 1.03 GB, free: 10.52 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.00242/0.1565, allocations: 1.057 MB / 1.031 GB, free: 9.457 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002164/0.1587, allocations: 0.9974 MB / 1.032 GB, free: 8.457 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.003008/0.1617, allocations: 2.561 MB / 1.034 GB, free: 5.887 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001282/0.163, allocations: 0.771 MB / 1.035 GB, free: 5.094 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001908/0.1649, allocations: 1.219 MB / 1.036 GB, free: 3.871 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001536/0.1664, allocations: 0.8197 MB / 1.037 GB, free: 3.066 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002044/0.1666, allocations: 108 kB / 1.037 GB, free: 2.961 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001445/0.1681, allocations: 0.7405 MB / 1.038 GB, free: 2.219 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0005174/0.1686, allocations: 0.5493 MB / 1.038 GB, free: 1.668 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0006049/0.1692, allocations: 467 kB / 1.039 GB, free: 1.211 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.002248/0.1714, allocations: 1.437 MB / 1.04 GB, free: 15.77 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.1714, allocations: 0 / 1.04 GB, free: 15.77 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.385e-06/0.1714, allocations: 0 / 1.04 GB, free: 15.77 MB / 1.01 GB Notification: Performance of Transformations before backend: time 2.96e-05/0.1715, allocations: 0 / 1.04 GB, free: 15.77 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.00224/0.1737, allocations: 1.542 MB / 1.042 GB, free: 14.19 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.1738, allocations: 8.031 kB / 1.042 GB, free: 14.18 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001712/0.1755, allocations: 0.5149 MB / 1.042 GB, free: 13.66 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/0.1766, allocations: 0.7911 MB / 1.043 GB, free: 12.85 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001724/0.1768, allocations: 70.12 kB / 1.043 GB, free: 12.78 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.1769, allocations: 88 kB / 1.043 GB, free: 12.69 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001352/0.1783, allocations: 1.19 MB / 1.044 GB, free: 11.37 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.621e-05/0.1783, allocations: 0 / 1.044 GB, free: 11.37 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.69e-05/0.1784, allocations: 43.98 kB / 1.044 GB, free: 11.32 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.518e-05/0.1784, allocations: 34 kB / 1.044 GB, free: 11.29 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000699/0.1791, allocations: 399.6 kB / 1.045 GB, free: 10.9 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.004173/0.1833, allocations: 2.976 MB / 1.048 GB, free: 7.832 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005606/0.1838, allocations: 327 kB / 1.048 GB, free: 7.5 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001935/0.184, allocations: 123.6 kB / 1.048 GB, free: 7.375 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000132/0.1842, allocations: 27.98 kB / 1.048 GB, free: 7.348 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/0.1842, allocations: 49.38 kB / 1.048 GB, free: 7.289 MB / 1.01 GB Notification: Performance of pre-optimization done (n=43): time 2.454e-06/0.1842, allocations: 0 / 1.048 GB, free: 7.289 MB / 1.01 GB Notification: Performance of matching and sorting (n=45): time 0.001989/0.1862, allocations: 1.013 MB / 1.049 GB, free: 6.238 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.1862, allocations: 67.34 kB / 1.049 GB, free: 6.16 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005175/0.1868, allocations: 0.6361 MB / 1.05 GB, free: 5.512 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.733e-05/0.1868, allocations: 37.7 kB / 1.05 GB, free: 5.469 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002925/0.1871, allocations: 0.5572 MB / 1.05 GB, free: 4.902 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.1872, allocations: 170.6 kB / 1.051 GB, free: 4.734 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001614/0.1874, allocations: 123.9 kB / 1.051 GB, free: 4.605 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001804/0.1875, allocations: 0.5586 MB / 1.051 GB, free: 4.035 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001924/0.1877, allocations: 97.25 kB / 1.051 GB, free: 3.938 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002975/0.188, allocations: 341.1 kB / 1.052 GB, free: 3.523 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.0008864/0.1889, allocations: 0.6124 MB / 1.052 GB, free: 2.848 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.1889, allocations: 4 kB / 1.052 GB, free: 2.844 MB / 1.01 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0006957/0.1896, allocations: 0.4893 MB / 1.053 GB, free: 2.348 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.1897, allocations: 12.06 kB / 1.053 GB, free: 2.336 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.1897, allocations: 11.98 kB / 1.053 GB, free: 2.324 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.763e-05/0.1897, allocations: 11.94 kB / 1.053 GB, free: 2.312 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004533/0.1901, allocations: 159.8 kB / 1.053 GB, free: 2.156 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-05/0.1902, allocations: 7.938 kB / 1.053 GB, free: 2.148 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003803/0.1905, allocations: 59.84 kB / 1.053 GB, free: 2.09 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.213e-05/0.1906, allocations: 24 kB / 1.053 GB, free: 2.066 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.0002069/0.1908, allocations: 192.4 kB / 1.053 GB, free: 1.867 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.1909, allocations: 95.53 kB / 1.053 GB, free: 1.773 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007208/0.1916, allocations: 87.12 kB / 1.053 GB, free: 1.684 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.1916, allocations: 7.938 kB / 1.053 GB, free: 1.676 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.1916, allocations: 0 / 1.053 GB, free: 1.676 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005062/0.1921, allocations: 0.5773 MB / 1.054 GB, free: 1.012 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5122/0.7043, allocations: 1.387 MB / 1.055 GB, free: 77.21 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.7043, allocations: 2.812 kB / 1.055 GB, free: 77.21 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000434/0.7048, allocations: 135.4 kB / 1.055 GB, free: 77.21 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.674e-06/0.7048, allocations: 5.781 kB / 1.056 GB, free: 77.21 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.731e-05/0.7048, allocations: 16.03 kB / 1.056 GB, free: 77.21 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/0.7048, allocations: 6.156 kB / 1.056 GB, free: 77.21 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.7048, allocations: 8.875 kB / 1.056 GB, free: 77.21 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009068/0.7057, allocations: 0.7141 MB / 1.056 GB, free: 76.87 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002797/0.706, allocations: 154.8 kB / 1.056 GB, free: 76.87 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.011e-05/0.7061, allocations: 20.28 kB / 1.056 GB, free: 76.87 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003897/0.7065, allocations: 47.41 kB / 1.056 GB, free: 76.87 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.597e-05/0.7065, allocations: 41.25 kB / 1.056 GB, free: 76.87 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.97e-05/0.7066, allocations: 31.36 kB / 1.057 GB, free: 76.87 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003022/0.7069, allocations: 406 kB / 1.057 GB, free: 76.73 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.7069, allocations: 0 / 1.057 GB, free: 76.73 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0006443/0.7075, allocations: 271.8 kB / 1.057 GB, free: 76.73 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.000273/0.7078, allocations: 171.3 kB / 1.057 GB, free: 76.65 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0005514/0.7083, allocations: 338.7 kB / 1.058 GB, free: 76.63 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.7083, allocations: 3.531 kB / 1.058 GB, free: 76.63 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001961/0.7085, allocations: 154.4 kB / 1.058 GB, free: 76.62 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/0.7097, allocations: 473.5 kB / 1.058 GB, free: 76.61 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002575/0.7123, allocations: 1.798 MB / 1.06 GB, free: 75.77 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001415/0.7124, allocations: 243.8 kB / 1.06 GB, free: 75.7 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004846/0.7129, allocations: 190.1 kB / 1.06 GB, free: 75.68 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001864/0.7131, allocations: 74.81 kB / 1.06 GB, free: 75.68 MB / 1.01 GB Notification: Performance of SimCode: time 1.062e-06/0.7131, allocations: 0 / 1.06 GB, free: 75.68 MB / 1.01 GB Notification: Performance of Templates: time 0.02144/0.7345, allocations: 18.02 MB / 1.078 GB, free: 74.22 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.9109148271381855]