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.0015/0.0015, allocations: 92.2 kB / 20.19 MB, free: 4.355 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.0009467/0.0009467, allocations: 169 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.9216/0.9216, allocations: 177.1 MB / 203.8 MB, free: 5.625 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.035/2.035, allocations: 429.5 MB / 0.6736 GB, free: 4.031 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.372e-06/1.372e-06, allocations: 0 / 0.8782 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.936e-05/2.073e-05, allocations: 6.406 kB / 0.8782 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1707/0.1707, allocations: 167.4 MB / 1.042 GB, free: 14.67 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.005817/0.1766, allocations: 4.365 MB / 1.046 GB, free: 10.3 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005445/0.1771, allocations: 35.75 kB / 1.046 GB, free: 10.26 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0009067/0.178, allocations: 337.8 kB / 1.046 GB, free: 9.93 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.002177/0.1802, allocations: 1.072 MB / 1.047 GB, free: 8.852 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001713/0.1819, allocations: 0.8556 MB / 1.048 GB, free: 7.996 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.001625/0.1835, allocations: 1.331 MB / 1.049 GB, free: 6.664 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004898/0.184, allocations: 388.2 kB / 1.05 GB, free: 6.281 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001201/0.1852, allocations: 0.8996 MB / 1.051 GB, free: 5.379 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000782/0.186, allocations: 434.6 kB / 1.051 GB, free: 4.961 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 7.344e-05/0.1861, allocations: 52 kB / 1.051 GB, free: 4.91 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00117/0.1872, allocations: 0.7596 MB / 1.052 GB, free: 4.148 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002031/0.1874, allocations: 239.3 kB / 1.052 GB, free: 3.914 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0002451/0.1877, allocations: 235.5 kB / 1.052 GB, free: 3.684 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001213/0.1889, allocations: 0.9229 MB / 1.053 GB, free: 2.758 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1889, allocations: 0 / 1.053 GB, free: 2.758 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1889, allocations: 3.938 kB / 1.053 GB, free: 2.754 MB / 1.01 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.1889, allocations: 0 / 1.053 GB, free: 2.754 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001298/0.1902, allocations: 0.9931 MB / 1.054 GB, free: 1.723 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.1903, allocations: 8.031 kB / 1.054 GB, free: 1.715 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/0.1914, allocations: 287.1 kB / 1.055 GB, free: 1.434 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006851/0.192, allocations: 445.5 kB / 1.055 GB, free: 0.9727 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.427e-05/0.1921, allocations: 29 kB / 1.055 GB, free: 0.9453 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.262e-05/0.1922, allocations: 51.94 kB / 1.055 GB, free: 0.8945 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008864/0.193, allocations: 0.7457 MB / 1.056 GB, free: 44 kB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.1931, allocations: 3.984 kB / 1.056 GB, free: 40 kB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.127e-05/0.1931, allocations: 16 kB / 1.056 GB, free: 24 kB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-05/0.1931, allocations: 21 kB / 1.056 GB, free: 0 / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4451/0.6382, allocations: 200.7 kB / 1.056 GB, free: 54.19 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002458/0.6407, allocations: 1.83 MB / 1.058 GB, free: 53.34 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002723/0.641, allocations: 108.1 kB / 1.058 GB, free: 53.31 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.672e-05/0.641, allocations: 47.12 kB / 1.058 GB, free: 53.3 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.6411, allocations: 2.938 kB / 1.058 GB, free: 53.3 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.6411, allocations: 36.17 kB / 1.058 GB, free: 53.25 MB / 1.01 GB Notification: Performance of pre-optimization done (n=11): time 5.831e-06/0.6411, allocations: 0 / 1.058 GB, free: 53.25 MB / 1.01 GB Notification: Performance of matching and sorting (n=11): time 0.001702/0.6428, allocations: 0.4948 MB / 1.058 GB, free: 53.19 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.6428, allocations: 85.55 kB / 1.058 GB, free: 53.09 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002904/0.6431, allocations: 436.7 kB / 1.059 GB, free: 52.91 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.167e-05/0.6432, allocations: 32.2 kB / 1.059 GB, free: 52.88 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.6433, allocations: 363.3 kB / 1.059 GB, free: 52.68 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 3.386e-05/0.6433, allocations: 38.86 kB / 1.059 GB, free: 52.66 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.737e-05/0.6434, allocations: 67.64 kB / 1.059 GB, free: 52.63 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 7.496e-05/0.6435, allocations: 0.5195 MB / 1.06 GB, free: 52.14 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.437e-05/0.6436, allocations: 38.53 kB / 1.06 GB, free: 52.14 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.6437, allocations: 179.9 kB / 1.06 GB, free: 51.98 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001879/0.6439, allocations: 184.9 kB / 1.06 GB, free: 51.86 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.6439, allocations: 1.094 kB / 1.06 GB, free: 51.86 MB / 1.01 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007715/0.6447, allocations: 361.5 kB / 1.061 GB, free: 51.79 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.6447, allocations: 9.688 kB / 1.061 GB, free: 51.79 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.6447, allocations: 7.141 kB / 1.061 GB, free: 51.79 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007556/0.6455, allocations: 243.8 kB / 1.061 GB, free: 51.78 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.6456, allocations: 61.72 kB / 1.061 GB, free: 51.78 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001486/0.6471, allocations: 2.041 MB / 1.063 GB, free: 50.04 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002567/0.6474, allocations: 47.25 kB / 1.063 GB, free: 50.04 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.6474, allocations: 10.22 kB / 1.063 GB, free: 50.04 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.0001326/0.6475, allocations: 178.6 kB / 1.063 GB, free: 49.87 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.477e-05/0.6476, allocations: 42.45 kB / 1.063 GB, free: 49.85 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.177e-05/0.6476, allocations: 37.83 kB / 1.063 GB, free: 49.85 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.6476, allocations: 7.188 kB / 1.063 GB, free: 49.85 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.6476, allocations: 3.141 kB / 1.063 GB, free: 49.85 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.6476, allocations: 0 / 1.063 GB, free: 49.85 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009865/0.6486, allocations: 0.7167 MB / 1.064 GB, free: 49.52 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.6486, allocations: 3.688 kB / 1.064 GB, free: 49.52 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.548e-05/0.6487, allocations: 28.64 kB / 1.064 GB, free: 49.52 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006465/0.6494, allocations: 243.8 kB / 1.064 GB, free: 49.5 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.6494, allocations: 9.219 kB / 1.064 GB, free: 49.5 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001095/0.6505, allocations: 1.986 MB / 1.066 GB, free: 47.78 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.6505, allocations: 4.844 kB / 1.066 GB, free: 47.78 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006484/0.6511, allocations: 437 kB / 1.067 GB, free: 47.54 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.6513, allocations: 83.59 kB / 1.067 GB, free: 47.51 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.613e-05/0.6513, allocations: 6.781 kB / 1.067 GB, free: 47.51 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002109/0.6515, allocations: 25.88 kB / 1.067 GB, free: 47.51 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.228e-05/0.6516, allocations: 17.48 kB / 1.067 GB, free: 47.51 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.227e-05/0.6516, allocations: 9 kB / 1.067 GB, free: 47.51 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001564/0.6517, allocations: 280.2 kB / 1.067 GB, free: 47.39 MB / 1.01 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6517, allocations: 0.9688 kB / 1.067 GB, free: 47.39 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0004789/0.6522, allocations: 198.8 kB / 1.067 GB, free: 47.38 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.0002579/0.6525, allocations: 168.6 kB / 1.067 GB, free: 47.29 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0004671/0.6529, allocations: 334.5 kB / 1.068 GB, free: 47.1 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.6529, allocations: 2.906 kB / 1.068 GB, free: 47.1 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001502/0.6531, allocations: 241.2 kB / 1.068 GB, free: 46.92 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006209/0.6537, allocations: 216.4 kB / 1.068 GB, free: 46.91 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/0.6554, allocations: 0.8849 MB / 1.069 GB, free: 46.5 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.503e-05/0.6554, allocations: 133.7 kB / 1.069 GB, free: 46.43 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002357/0.6557, allocations: 73.75 kB / 1.069 GB, free: 46.42 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.845e-05/0.6558, allocations: 35.34 kB / 1.069 GB, free: 46.41 MB / 1.01 GB Notification: Performance of SimCode: time 1.503e-06/0.6558, allocations: 0 / 1.069 GB, free: 46.41 MB / 1.01 GB Notification: Performance of Templates: time 0.01149/0.6672, allocations: 9.776 MB / 1.079 GB, free: 45.72 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.0272695808671415]