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.00145/0.00145, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.001755/0.001755, allocations: 177 kB / 23.35 MB, free: 1.141 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.035/1.035, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.42/2.42, allocations: 438.8 MB / 0.6827 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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 3.046e-06/3.046e-06, allocations: 3.984 kB / 0.8387 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.501e-05/2.805e-05, allocations: 4.562 kB / 0.8387 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.1587/0.1588, allocations: 150.3 MB / 0.9855 GB, free: 7.238 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.006227/0.165, allocations: 3.915 MB / 0.9893 GB, free: 3.316 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007805/0.1658, allocations: 55.56 kB / 0.9894 GB, free: 3.262 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.000643/0.1664, allocations: 281.9 kB / 0.9896 GB, free: 2.984 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001714/0.1681, allocations: 1.053 MB / 0.9907 GB, free: 1.926 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001613/0.1697, allocations: 0.9857 MB / 0.9916 GB, free: 0.9375 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.002388/0.1721, allocations: 2.564 MB / 0.9941 GB, free: 14.37 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001404/0.1735, allocations: 0.8166 MB / 0.9949 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002243/0.1758, allocations: 1.398 MB / 0.9963 GB, free: 12.18 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009585/0.1767, allocations: 0.7518 MB / 0.997 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0001453/0.1769, allocations: 104 kB / 0.9971 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001148/0.178, allocations: 0.6743 MB / 0.9978 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0004248/0.1784, allocations: 0.5376 MB / 0.9983 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0004656/0.1789, allocations: 459 kB / 0.9987 GB, free: 9.66 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.001642/0.1806, allocations: 1.398 MB / 1 GB, free: 8.258 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1806, allocations: 0 / 1 GB, free: 8.258 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1806, allocations: 0 / 1 GB, free: 8.258 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.234e-05/0.1806, allocations: 0 / 1 GB, free: 8.258 MB / 0.9636 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.001769/0.1823, allocations: 1.362 MB / 1.001 GB, free: 6.867 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.1824, allocations: 12.62 kB / 1.001 GB, free: 6.855 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001873/0.1843, allocations: 479.9 kB / 1.002 GB, free: 6.387 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/0.1853, allocations: 0.6253 MB / 1.003 GB, free: 5.73 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.293e-05/0.1853, allocations: 74.12 kB / 1.003 GB, free: 5.66 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000133/0.1855, allocations: 95.94 kB / 1.003 GB, free: 5.566 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001226/0.1867, allocations: 1.082 MB / 1.004 GB, free: 4.363 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/0.1867, allocations: 0 / 1.004 GB, free: 4.363 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.934e-05/0.1868, allocations: 43.98 kB / 1.004 GB, free: 4.32 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.591e-05/0.1868, allocations: 30 kB / 1.004 GB, free: 4.293 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005711/0.1874, allocations: 304.6 kB / 1.004 GB, free: 3.992 MB / 0.9636 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.003755/0.1912, allocations: 2.346 MB / 1.006 GB, free: 1.57 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005239/0.1917, allocations: 326.7 kB / 1.007 GB, free: 1.238 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001731/0.1919, allocations: 103.3 kB / 1.007 GB, free: 1.137 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000102/0.192, allocations: 27.97 kB / 1.007 GB, free: 1.109 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.192, allocations: 42.56 kB / 1.007 GB, free: 1.059 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=43): time 2.134e-06/0.192, allocations: 0 / 1.007 GB, free: 1.059 MB / 0.9636 GB Notification: Performance of matching and sorting (n=45): time 0.001597/0.1936, allocations: 0.7295 MB / 1.008 GB, free: 308 kB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/0.1936, allocations: 59.34 kB / 1.008 GB, free: 236 kB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004641/0.1941, allocations: 0.5467 MB / 1.008 GB, free: 15.68 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 4.696e-05/0.1941, allocations: 37.7 kB / 1.008 GB, free: 15.63 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002141/0.1943, allocations: 421.1 kB / 1.009 GB, free: 15.21 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/0.1945, allocations: 170.5 kB / 1.009 GB, free: 15.05 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001781/0.1946, allocations: 118.2 kB / 1.009 GB, free: 14.93 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.1948, allocations: 382.6 kB / 1.009 GB, free: 14.54 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001614/0.1949, allocations: 72.11 kB / 1.009 GB, free: 14.47 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003817/0.1953, allocations: 252.9 kB / 1.01 GB, free: 14.16 MB / 0.9792 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.0007616/0.1961, allocations: 494.2 kB / 1.01 GB, free: 13.62 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1961, allocations: 4 kB / 1.01 GB, free: 13.62 MB / 0.9792 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0005324/0.1966, allocations: 342.6 kB / 1.01 GB, free: 13.28 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.1966, allocations: 12.03 kB / 1.01 GB, free: 13.27 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.1966, allocations: 4 kB / 1.01 GB, free: 13.26 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.1967, allocations: 7.938 kB / 1.01 GB, free: 13.25 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000562/0.1972, allocations: 163.8 kB / 1.011 GB, free: 13.09 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/0.1972, allocations: 15.92 kB / 1.011 GB, free: 13.08 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004264/0.1977, allocations: 43.91 kB / 1.011 GB, free: 13.04 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.125e-05/0.1977, allocations: 19.98 kB / 1.011 GB, free: 13.02 MB / 0.9792 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.0002089/0.1979, allocations: 156.5 kB / 1.011 GB, free: 12.85 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/0.198, allocations: 63.92 kB / 1.011 GB, free: 12.79 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001279/0.1982, allocations: 87.12 kB / 1.011 GB, free: 12.7 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.1982, allocations: 11.94 kB / 1.011 GB, free: 12.68 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1982, allocations: 0 / 1.011 GB, free: 12.68 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000408/0.1986, allocations: 0.4914 MB / 1.011 GB, free: 12.11 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001713/0.2003, allocations: 1.054 MB / 1.012 GB, free: 10.97 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.2003, allocations: 3.984 kB / 1.012 GB, free: 10.97 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005338/0.2008, allocations: 163 kB / 1.013 GB, free: 10.81 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.685e-06/0.2008, allocations: 8 kB / 1.013 GB, free: 10.8 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.673e-05/0.2009, allocations: 15.98 kB / 1.013 GB, free: 10.79 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-06/0.2009, allocations: 4 kB / 1.013 GB, free: 10.78 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.2009, allocations: 7.938 kB / 1.013 GB, free: 10.77 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000699/0.2016, allocations: 0.5785 MB / 1.013 GB, free: 10.12 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00022/0.2018, allocations: 111.5 kB / 1.013 GB, free: 10.02 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.303e-05/0.2019, allocations: 15.98 kB / 1.013 GB, free: 10 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004296/0.2023, allocations: 48.17 kB / 1.013 GB, free: 9.957 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.456e-05/0.2024, allocations: 39.86 kB / 1.013 GB, free: 9.918 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.796e-05/0.2025, allocations: 27.98 kB / 1.013 GB, free: 9.891 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0002455/0.2027, allocations: 252.6 kB / 1.014 GB, free: 9.648 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.2027, allocations: 4 kB / 1.014 GB, free: 9.645 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0006574/0.2034, allocations: 271.8 kB / 1.014 GB, free: 9.379 MB / 0.9792 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.0002751/0.2036, allocations: 148.2 kB / 1.014 GB, free: 9.227 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0004682/0.2041, allocations: 265.2 kB / 1.014 GB, free: 8.965 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.29e-05/0.2041, allocations: 8.25 kB / 1.014 GB, free: 8.957 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0002006/0.2043, allocations: 132.5 kB / 1.014 GB, free: 8.824 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001385/0.2057, allocations: 497 kB / 1.015 GB, free: 8.344 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003033/0.2087, allocations: 1.715 MB / 1.017 GB, free: 6.547 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002029/0.2089, allocations: 239.1 kB / 1.017 GB, free: 6.293 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0005079/0.2094, allocations: 134.3 kB / 1.017 GB, free: 6.16 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009686/0.2104, allocations: 388.9 kB / 1.017 GB, free: 5.773 MB / 0.9792 GB Notification: Performance of SimCode: time 9.22e-07/0.2104, allocations: 4 kB / 1.017 GB, free: 5.77 MB / 0.9792 GB Notification: Performance of Templates: time 0.02747/0.2379, allocations: 19.48 MB / 1.036 GB, free: 2.773 MB / 0.9948 GB " [Timeout remaining time 300] 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 -s gbode -gbm=radauIIA3 -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: 5.986032167915255]