Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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.0009798/0.0009798, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001049/0.001049, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9852/0.9852, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.144/2.144, allocations: 429.5 MB / 0.6743 GB, free: 3.938 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.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.ports.[0-9,]+..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.ports.[0-9,]+..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 0.8794 GB, free: 6.059 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.939e-05/3.115e-05, allocations: 5.5 kB / 0.8794 GB, free: 6.055 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1615/0.1615, allocations: 145.6 MB / 1.022 GB, free: 3.969 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.00637/0.1679, allocations: 3.41 MB / 1.025 GB, free: 0.5508 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001042/0.1689, allocations: 27.75 kB / 1.025 GB, free: 0.5234 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0007454/0.1697, allocations: 178.7 kB / 1.025 GB, free: 356 kB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.001888/0.1716, allocations: 0.7962 MB / 1.026 GB, free: 15.55 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001913/0.1735, allocations: 0.7043 MB / 1.027 GB, free: 14.84 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001642/0.1751, allocations: 1.32 MB / 1.028 GB, free: 13.52 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005203/0.1756, allocations: 400 kB / 1.028 GB, free: 13.12 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001467/0.1771, allocations: 0.8036 MB / 1.029 GB, free: 12.34 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005193/0.1776, allocations: 406.8 kB / 1.029 GB, free: 11.94 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 7.038e-05/0.1777, allocations: 52 kB / 1.029 GB, free: 11.89 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001025/0.1787, allocations: 0.565 MB / 1.03 GB, free: 11.32 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002103/0.1789, allocations: 235.3 kB / 1.03 GB, free: 11.09 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002261/0.1792, allocations: 235.5 kB / 1.03 GB, free: 10.86 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001924/0.1811, allocations: 0.849 MB / 1.031 GB, free: 10.01 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1811, allocations: 0 / 1.031 GB, free: 10.01 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1811, allocations: 0 / 1.031 GB, free: 10.01 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.1811, allocations: 0 / 1.031 GB, free: 10.01 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001332/0.1824, allocations: 0.9777 MB / 1.032 GB, free: 8.992 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.1825, allocations: 12.03 kB / 1.032 GB, free: 8.98 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008151/0.1833, allocations: 272 kB / 1.032 GB, free: 8.715 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005038/0.1838, allocations: 421 kB / 1.033 GB, free: 8.281 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.924e-05/0.1838, allocations: 33.12 kB / 1.033 GB, free: 8.25 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.585e-05/0.1839, allocations: 44 kB / 1.033 GB, free: 8.207 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009208/0.1848, allocations: 0.6931 MB / 1.034 GB, free: 7.41 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.1848, allocations: 0 / 1.034 GB, free: 7.41 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.465e-05/0.1849, allocations: 20 kB / 1.034 GB, free: 7.391 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.337e-05/0.1849, allocations: 21 kB / 1.034 GB, free: 7.371 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002715/0.1852, allocations: 162.8 kB / 1.034 GB, free: 7.211 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002265/0.1874, allocations: 1.724 MB / 1.035 GB, free: 5.426 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002633/0.1877, allocations: 106.9 kB / 1.036 GB, free: 5.309 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.275e-05/0.1878, allocations: 39.67 kB / 1.036 GB, free: 5.266 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.1878, allocations: 0 / 1.036 GB, free: 5.266 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.1878, allocations: 41.33 kB / 1.036 GB, free: 5.215 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=11): time 1.743e-06/0.1878, allocations: 0 / 1.036 GB, free: 5.215 MB / 0.9948 GB Notification: Performance of matching and sorting (n=11): time 0.001556/0.1894, allocations: 452.6 kB / 1.036 GB, free: 4.762 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.1894, allocations: 81.33 kB / 1.036 GB, free: 4.664 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002791/0.1897, allocations: 438.2 kB / 1.037 GB, free: 4.219 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.1897, allocations: 29.7 kB / 1.037 GB, free: 4.184 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001987/0.1899, allocations: 366.4 kB / 1.037 GB, free: 3.816 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.867e-05/0.19, allocations: 47.62 kB / 1.037 GB, free: 3.77 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.182e-05/0.1901, allocations: 59.3 kB / 1.037 GB, free: 3.703 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001856/0.1902, allocations: 0.5312 MB / 1.038 GB, free: 3.16 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.704e-05/0.1903, allocations: 27.97 kB / 1.038 GB, free: 3.133 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.1905, allocations: 171.7 kB / 1.038 GB, free: 2.914 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001936/0.1907, allocations: 170.6 kB / 1.038 GB, free: 2.707 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.1907, allocations: 0 / 1.038 GB, free: 2.707 MB / 0.9948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001106/0.1918, allocations: 330.3 kB / 1.038 GB, free: 2.375 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.1918, allocations: 12.03 kB / 1.038 GB, free: 2.363 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.1918, allocations: 4 kB / 1.038 GB, free: 2.359 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007551/0.1926, allocations: 239.4 kB / 1.039 GB, free: 2.121 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.1927, allocations: 55.91 kB / 1.039 GB, free: 2.066 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001707/0.1944, allocations: 2.011 MB / 1.041 GB, free: 15.95 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002292/0.1947, allocations: 35.83 kB / 1.041 GB, free: 15.91 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.808e-05/0.1947, allocations: 12 kB / 1.041 GB, free: 15.9 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001561/0.1948, allocations: 184.4 kB / 1.041 GB, free: 15.71 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.756e-05/0.1949, allocations: 39.77 kB / 1.041 GB, free: 15.67 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.778e-05/0.195, allocations: 39.28 kB / 1.041 GB, free: 15.63 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.195, allocations: 0 / 1.041 GB, free: 15.63 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.195, allocations: 0 / 1.041 GB, free: 15.63 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.195, allocations: 0 / 1.041 GB, free: 15.63 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009521/0.1959, allocations: 0.6252 MB / 1.041 GB, free: 14.96 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1959, allocations: 0 / 1.041 GB, free: 14.96 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.509e-05/0.196, allocations: 27.97 kB / 1.041 GB, free: 14.93 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006352/0.1966, allocations: 247.5 kB / 1.042 GB, free: 14.68 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.1967, allocations: 8 kB / 1.042 GB, free: 14.68 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001405/0.1981, allocations: 1.948 MB / 1.044 GB, free: 12.61 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1981, allocations: 0 / 1.044 GB, free: 12.61 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006863/0.1987, allocations: 414.9 kB / 1.044 GB, free: 12.17 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.1989, allocations: 67.72 kB / 1.044 GB, free: 12.11 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.594e-05/0.1989, allocations: 15.86 kB / 1.044 GB, free: 12.09 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002136/0.1991, allocations: 31.97 kB / 1.044 GB, free: 12.06 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.828e-05/0.1992, allocations: 15.97 kB / 1.044 GB, free: 12.04 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.676e-05/0.1992, allocations: 12.17 kB / 1.044 GB, free: 12.03 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.000163/0.1994, allocations: 267 kB / 1.044 GB, free: 11.77 MB / 1.01 GB Notification: Performance of sort global known variables: time 5e-08/0.1994, allocations: 0 / 1.044 GB, free: 11.77 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0005433/0.1999, allocations: 191.5 kB / 1.045 GB, free: 11.59 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002693/0.2002, allocations: 159.1 kB / 1.045 GB, free: 11.42 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.000471/0.2007, allocations: 322.1 kB / 1.045 GB, free: 11.08 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.2007, allocations: 0 / 1.045 GB, free: 11.08 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0005271/0.2012, allocations: 237.5 kB / 1.045 GB, free: 10.83 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006387/0.2018, allocations: 215.3 kB / 1.045 GB, free: 10.62 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001722/0.2035, allocations: 0.8783 MB / 1.046 GB, free: 9.699 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.315e-05/0.2036, allocations: 137.2 kB / 1.046 GB, free: 9.543 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001956/0.2038, allocations: 63.19 kB / 1.047 GB, free: 9.48 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004038/0.2042, allocations: 266 kB / 1.047 GB, free: 9.219 MB / 1.01 GB Notification: Performance of SimCode: time 8.82e-07/0.2042, allocations: 0 / 1.047 GB, free: 9.219 MB / 1.01 GB Notification: Performance of Templates: time 0.484/0.6883, allocations: 10.45 MB / 1.057 GB, free: 80.69 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.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.630554291885346]